about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-14 20:59:31 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:21 -0500
commit1823e78aa73663262f5e4cbb6661a011087843a1 (patch)
treeddae843fe0422e1c32e574c5849b0da04fda96db
parent2db51e2f4cc55c520634df8ca34b58742ded0153 (diff)
Do not set default in `add_column` migration.
-rw-r--r--db/migrate/20190414162149_add_curated_to_status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20190414162149_add_curated_to_status.rb b/db/migrate/20190414162149_add_curated_to_status.rb
index 2ae1a0ac3..739a79c3c 100644
--- a/db/migrate/20190414162149_add_curated_to_status.rb
+++ b/db/migrate/20190414162149_add_curated_to_status.rb
@@ -1,5 +1,5 @@
 class AddCuratedToStatus < ActiveRecord::Migration[5.2]
   def change
-    add_column :statuses, :curated, :boolean, null: true, default: nil
+    add_column :statuses, :curated, :boolean
   end
 end