Updated status_bookmark model
• Updated: - status_bookmark model definitions
This commit is contained in:
parent
4a8ddd5803
commit
f0347b1c23
|
@ -3,11 +3,11 @@
|
|||
#
|
||||
# Table name: status_bookmarks
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# id :bigint(8) not null, primary key
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# account_id :integer not null
|
||||
# status_id :integer not null
|
||||
# account_id :bigint(8) not null
|
||||
# status_id :bigint(8) not null
|
||||
#
|
||||
|
||||
class StatusBookmark < ApplicationRecord
|
||||
|
@ -21,4 +21,4 @@ class StatusBookmark < ApplicationRecord
|
|||
before_validation do
|
||||
self.status = status.reblog if status&.reblog?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue