add `boostable` attribute to statuses model

staging
multiple creatures 2019-07-29 12:38:12 -05:00
parent 863c101e0a
commit feeb789ecd
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,7 @@
# edited :boolean
# imported :boolean
# origin :string
# boostable :boolean
#
class Status < ApplicationRecord

View File

@ -0,0 +1,5 @@
class AddBoostableToStatuses < ActiveRecord::Migration[5.2]
def change
add_column :statuses, :boostable, :boolean
end
end