mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

どうしてくれよう…

== 20191212003415 IncreaseBackupSize: migrating ===============================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

=== Dangerous operation detected ===

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

zunda

@noellabo あざます!!

$ heroku run rails r 'puts Backup.count'
0

うちはすっごい大丈夫そうなんですけどはてさて。

@zundan すぐ終わるっしょw

Migrating to IncreaseBackupSize (20191212003415)
== 20191212003415 IncreaseBackupSize: migrating ===============================
-- change_column(:backups, :dump_file_size, :bigint)
-> 0.0100s
== 20191212003415 IncreaseBackupSize: migrated (0.0101s) ======================