diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-29 12:38:12 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-29 12:38:12 -0500 |
commit | feeb789ecdc161787278570671b7d8ea0cbe35ab (patch) | |
tree | e77a1c635c7619710651754a29fd616a46ebc7e2 | |
parent | 863c101e0ac008cbfe9f6a9b7805c940d0c24810 (diff) |
add `boostable` attribute to statuses model
-rw-r--r-- | app/models/status.rb | 1 | ||||
-rw-r--r-- | db/migrate/20190728201832_add_boostable_to_statuses.rb | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index a8c53d930..16206ae5e 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -31,6 +31,7 @@ # edited :boolean # imported :boolean # origin :string +# boostable :boolean # class Status < ApplicationRecord diff --git a/db/migrate/20190728201832_add_boostable_to_statuses.rb b/db/migrate/20190728201832_add_boostable_to_statuses.rb new file mode 100644 index 000000000..3f7700201 --- /dev/null +++ b/db/migrate/20190728201832_add_boostable_to_statuses.rb @@ -0,0 +1,5 @@ +class AddBoostableToStatuses < ActiveRecord::Migration[5.2] + def change + add_column :statuses, :boostable, :boolean + end +end |