どうしてくれよう…
== 20191212003415 IncreaseBackupSize: migrating ===============================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
=== Dangerous operation detected #strong_migrations ===
Changing the type of an existing column requires the entire
table and indexes to be rewritten. A safer approach is to:
1. Create a new column
2. Write to both columns
3. Backfill data from the old column to the new column
4. Move reads from the old column to the new column
5. Stop writing to the old column
6. Drop the old column
/app/db/migrate/20191212003415_increase_backup_size.rb:3:in `up'
@zundan 実行しちゃっていいんじゃね? って書いてきたw
@zundan すぐ終わるっしょw
Migrating to IncreaseBackupSize (20191212003415)
== 20191212003415 IncreaseBackupSize: migrating ===============================
-- change_column(:backups, :dump_file_size, :bigint)
-> 0.0100s
== 20191212003415 IncreaseBackupSize: migrated (0.0101s) ======================