diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-15 10:50:31 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-15 10:50:31 -0600 |
commit | 5775e248675f60885eee31ba8d64e67f2b6dbf69 (patch) | |
tree | 80751a9cf8254cb0cab23a0fec94d8c69873a4a7 /db/migrate/20200215014558_add_hidden_to_statuses.rb | |
parent | 13de392fc5769114015bb6780dce41e803fa6946 (diff) |
set default column value in same migration
Diffstat (limited to 'db/migrate/20200215014558_add_hidden_to_statuses.rb')
-rw-r--r-- | db/migrate/20200215014558_add_hidden_to_statuses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20200215014558_add_hidden_to_statuses.rb b/db/migrate/20200215014558_add_hidden_to_statuses.rb index 886a2f7c4..47e1aefd0 100644 --- a/db/migrate/20200215014558_add_hidden_to_statuses.rb +++ b/db/migrate/20200215014558_add_hidden_to_statuses.rb @@ -1,5 +1,5 @@ class AddHiddenToStatuses < ActiveRecord::Migration[5.2] def change - add_column :statuses, :hidden, :boolean + add_column :statuses, :hidden, :boolean, default: false end end |