about summary refs log tree commit diff
path: root/db/migrate/20200817003653_status_mute_account_id_bigint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200817003653_status_mute_account_id_bigint.rb')
-rw-r--r--db/migrate/20200817003653_status_mute_account_id_bigint.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200817003653_status_mute_account_id_bigint.rb b/db/migrate/20200817003653_status_mute_account_id_bigint.rb
new file mode 100644
index 000000000..e46d17845
--- /dev/null
+++ b/db/migrate/20200817003653_status_mute_account_id_bigint.rb
@@ -0,0 +1,7 @@
+class StatusMuteAccountIdBigint < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured do
+      change_column :status_mutes, :account_id, :bigint, null: false
+    end
+  end
+end