mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Fix the migration error when deprecated_preview_cards has been deleted (#5043)
* Fix the migration error when deprecated_preview_cards has deleted * Re-run Travis CI
This commit is contained in:
parent
b01ab55ed8
commit
dcfc9b2204
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class IdsToBigints < ActiveRecord::Migration[5.1]
|
||||||
change_column :blocks, :target_account_id, :bigint
|
change_column :blocks, :target_account_id, :bigint
|
||||||
change_column :conversation_mutes, :account_id, :bigint
|
change_column :conversation_mutes, :account_id, :bigint
|
||||||
change_column :conversation_mutes, :id, :bigint
|
change_column :conversation_mutes, :id, :bigint
|
||||||
change_column :deprecated_preview_cards, :id, :bigint
|
change_column :deprecated_preview_cards, :id, :bigint if table_exists?(:deprecated_preview_cards)
|
||||||
change_column :domain_blocks, :id, :bigint
|
change_column :domain_blocks, :id, :bigint
|
||||||
change_column :favourites, :account_id, :bigint
|
change_column :favourites, :account_id, :bigint
|
||||||
change_column :favourites, :id, :bigint
|
change_column :favourites, :id, :bigint
|
||||||
|
@ -71,7 +71,7 @@ class IdsToBigints < ActiveRecord::Migration[5.1]
|
||||||
change_column :blocks, :target_account_id, :integer
|
change_column :blocks, :target_account_id, :integer
|
||||||
change_column :conversation_mutes, :account_id, :integer
|
change_column :conversation_mutes, :account_id, :integer
|
||||||
change_column :conversation_mutes, :id, :integer
|
change_column :conversation_mutes, :id, :integer
|
||||||
change_column :deprecated_preview_cards, :id, :integer
|
change_column :deprecated_preview_cards, :id, :integer if table_exists?(:deprecated_preview_cards)
|
||||||
change_column :domain_blocks, :id, :integer
|
change_column :domain_blocks, :id, :integer
|
||||||
change_column :favourites, :account_id, :integer
|
change_column :favourites, :account_id, :integer
|
||||||
change_column :favourites, :id, :integer
|
change_column :favourites, :id, :integer
|
||||||
|
|
Loading…
Reference in a new issue