add `boostable` attribute to statuses model
parent
863c101e0a
commit
feeb789ecd
|
@ -31,6 +31,7 @@
|
|||
# edited :boolean
|
||||
# imported :boolean
|
||||
# origin :string
|
||||
# boostable :boolean
|
||||
#
|
||||
|
||||
class Status < ApplicationRecord
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class AddBoostableToStatuses < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :statuses, :boostable, :boolean
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue