chore: Update schema files (#3438)
- removes the unintended table from schema files
This commit is contained in:
13
db/migrate/20211122112607_remove_invalid_migration.rb
Normal file
13
db/migrate/20211122112607_remove_invalid_migration.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class RemoveInvalidMigration < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
return unless ActiveRecord::Base.connection.table_exists? 'actions'
|
||||
|
||||
drop_table :actions do |t|
|
||||
t.string :name
|
||||
t.jsonb :execution_list
|
||||
t.datetime :created_at
|
||||
t.datetime :updated_at
|
||||
t.index ['name'], name: 'index_actions_on_name'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user