Skip to content

Commit

Permalink
AO3-6639 Revert schema dump setting (#4677)
Browse files Browse the repository at this point in the history
* AO3-6639 Revert schema dump setting

* Update schema
  • Loading branch information
brianjaustin authored Dec 2, 2023
1 parent eddb437 commit 7a90d55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ class Application < Rails::Application
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:content, :password, :terms_of_service_non_production]

# Disable dumping schemas after migrations.
# This can cause problems since we don't always update versions on merge.
# Ideally this would be enabled in dev, but we're not quite ready for that.
config.active_record.dump_schema_after_migration = false

# Allows belongs_to associations to be optional
config.active_record.belongs_to_required_by_default = false

Expand Down
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@
create_table "skins", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
t.string "title"
t.integer "author_id"
t.text "css"
t.text "css", size: :long
t.boolean "public", default: false
t.boolean "official", default: false
t.datetime "created_at"
Expand Down

0 comments on commit 7a90d55

Please sign in to comment.