mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:53:55 +08:00
6a3c8fe69c
Often we need to amend our schema, it is tempting to use drop_table, rename_column and drop_column to amned schema trouble though is that existing code that is running in production can depend on the existance of previous schema leading to application breaking until new code base is deployed. The commit enforces new rules to ensure we can never drop tables or columns in migrations and instead use Migration::ColumnDropper and Migration::TableDropper to defer drop the db objects |
||
---|---|---|
.. | ||
active_record_base.rb | ||
ams_include_without_root.rb | ||
better_handlebars_errors.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
match.rb | ||
open_uri_redirections.rb | ||
performance_fixes.rb | ||
pool_drainer.rb | ||
postgresql_adapter.rb | ||
rack_patches.rb | ||
rails4.rb | ||
raw_handlebars.rb | ||
redis.rb | ||
regexp.rb | ||
safe_buffer.rb | ||
safe_migrations.rb | ||
schema_migration_details.rb | ||
sprockets_patches.rb | ||
translate_accelerator.rb |