chore: Update schema files (#3438)
- removes the unintended table from schema files
This commit is contained in:
parent
e182b59002
commit
9103fbbdde
2 changed files with 14 additions and 9 deletions
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
|
10
db/schema.rb
10
db/schema.rb
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_11_22_061012) do
|
||||
ActiveRecord::Schema.define(version: 2021_11_22_112607) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
|
@ -63,14 +63,6 @@ ActiveRecord::Schema.define(version: 2021_11_22_061012) do
|
|||
t.index ["message_id", "message_checksum"], name: "index_action_mailbox_inbound_emails_uniqueness", unique: true
|
||||
end
|
||||
|
||||
create_table "actions", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.jsonb "execution_list", default: {}, null: false
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["name"], name: "index_actions_on_name"
|
||||
end
|
||||
|
||||
create_table "active_storage_attachments", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.string "record_type", null: false
|
||||
|
|
Loading…
Reference in a new issue