Open
Description
Migrations fail due to missing action_text_rich_texts
table.
== 20230526211831 CreateActiveStorageTables: migrated (0.0327s) ===============
== 20230526212613 ConvertToActiveStorage: migrating ===========================
-- transaction(nil)
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled: (StandardError)
PG::UndefinedTable: ERROR: relation "action_text_rich_texts" does not exist
LINE 9: WHERE a.attrelid = '"action_text_rich_texts"'::regclass
^
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:51:in `block (2 levels) in up'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:50:in `each'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:50:in `block in up'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:49:in `up'
Caused by:
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "action_text_rich_texts" does not exist (ActiveRecord::StatementInvalid)
LINE 9: WHERE a.attrelid = '"action_text_rich_texts"'::regclass
^
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:51:in `block (2 levels) in up'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:50:in `each'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:50:in `block in up'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:49:in `up'
Caused by:
PG::UndefinedTable: ERROR: relation "action_text_rich_texts" does not exist (PG::UndefinedTable)
LINE 9: WHERE a.attrelid = '"action_text_rich_texts"'::regclass
^
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:51:in `block (2 levels) in up'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:50:in `each'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:50:in `block in up'
~/Work/fat_free_crm/db/migrate/20230526212613_convert_to_active_storage.rb:49:in `up'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Metadata
Metadata
Assignees
Labels
No labels