about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-16 19:39:02 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:18 -0500
commitdada6e410f03892e0c787bc93973ce46d2812c87 (patch)
tree669b36ed8e26cc0686569d98f7d6ac4786d37636
parent307d7796b10801d90742a0ae3cf0ba8a5134c8c4 (diff)
[Database] Change column type of status_mutes.account_id to bigint
-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