discourse/lib/freedom_patches
Sam 6a3c8fe69c FEATURE: protect against accidental column or table drops
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
2018-03-21 15:43:32 +11:00
..
active_record_base.rb Revert "Guard `ActionRecord::Base.exec_sql` against a readonly PostgreSQL cluster." 2017-10-19 15:39:03 +08:00
ams_include_without_root.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
better_handlebars_errors.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
fast_pluck.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
inflector_backport.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
match.rb FIX: unicode titles missing when visiting topic from topic list 2017-12-21 15:20:47 +11:00
open_uri_redirections.rb replace 'open_uri_redirections' gem with a single freedom_patches file 2015-08-18 14:56:36 +02:00
performance_fixes.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
pool_drainer.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
postgresql_adapter.rb Move monkey patch into freedom_patchers. 2017-11-21 14:15:11 +08:00
rack_patches.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
rails4.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
raw_handlebars.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
redis.rb FIX: Load Redis patch much earlier. 2016-03-11 17:29:00 +08:00
regexp.rb FEATURE: flexible crawler detection 2017-09-29 12:31:50 +10:00
safe_buffer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
safe_migrations.rb FEATURE: protect against accidental column or table drops 2018-03-21 15:43:32 +11:00
schema_migration_details.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
sprockets_patches.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
translate_accelerator.rb FEATURE: Allow plugins to register a new locale 2018-01-25 14:57:41 +01:00