Merge branch 'master' into glitch-soc/master
Conflicts: - `config/locales/en.yml` No real conflict, upstream added a translatable string “too close” to one specific to glitch-soc - `lib/mastodon/statuses_cli.rb` Fixes made upstream, while changed in glitch-soc to keep bookmarked statuses - `package.json` No real conflict, additional dependency in glitch-soc
This commit is contained in:
21
db/migrate/20191212003415_increase_backup_size.rb
Normal file
21
db/migrate/20191212003415_increase_backup_size.rb
Normal file
@@ -0,0 +1,21 @@
|
||||
require Rails.root.join('lib', 'mastodon', 'migration_helpers')
|
||||
|
||||
class IncreaseBackupSize < ActiveRecord::Migration[5.2]
|
||||
include Mastodon::MigrationHelpers
|
||||
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
safety_assured do
|
||||
change_column_type_concurrently :backups, :dump_file_size, :bigint
|
||||
cleanup_concurrent_column_type_change :backups, :dump_file_size
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
safety_assured do
|
||||
change_column_type_concurrently :backups, :dump_file_size, :integer
|
||||
cleanup_concurrent_column_type_change :backups, :dump_file_size
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user