about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2018-02-08 23:17:14 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2018-02-08 23:17:14 +0000
commit5ba2c300d8ab0e3adc58a380162b66abafbb3bb8 (patch)
treea3bb67479db79ca9777cf2d6c1b767ad0f0f53d2 /db/migrate
parent3405ea6dd9fde38ba1044933fec2ec7fa909ea8c (diff)
parent1167c6dbf8d5b8411d9924350b2b9735da6d9d26 (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180206000000_change_user_id_nonnullable.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20180206000000_change_user_id_nonnullable.rb b/db/migrate/20180206000000_change_user_id_nonnullable.rb
new file mode 100644
index 000000000..4eecb6154
--- /dev/null
+++ b/db/migrate/20180206000000_change_user_id_nonnullable.rb
@@ -0,0 +1,6 @@
+class ChangeUserIdNonnullable < ActiveRecord::Migration[5.1]
+  def change
+    change_column_null :invites, :user_id, false
+    change_column_null :web_settings, :user_id, false
+  end
+end