discourse/lib/freedom_patches
David Taylor ed688bec8c
FIX: Ensure id sequences are not reset during db:migrate (#14184)
The seed-fu gem resets the sequence on all the tables it touches. In some situations, this can cause primary keys to be re-used. This commit introduces a freedom patch which ensures seed-fu only touches the sequence when it is less than the id of one of the seeded records.
2021-08-30 12:31:22 +01:00
..
active_record_attribute_methods.rb DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
active_record_base.rb
active_record_postgresql_adapter.rb PERF: Switch ActiveRecord PG connection active check to use empty query. (#13323) 2021-06-08 13:15:07 +10:00
ams_include_without_root.rb
better_handlebars_errors.rb
copy_file.rb DEV: Work around a Docker issue (#13368) 2021-06-14 17:38:36 +02:00
ember_handlebars.rb
fast_pluck.rb DEV: Upgrade Rails to 6.1.3.1 (#12688) 2021-04-21 12:36:32 +03:00
inflector_backport.rb
open_uri_redirections.rb Build(deps): Bump rubocop from 1.18.2 to 1.18.3 (#13653) 2021-07-07 01:51:43 +02:00
pluck_first.rb
rails4.rb
rails_multisite.rb
raw_handlebars.rb
safe_buffer.rb
safe_migrations.rb
schema_cache_concurrency.rb
schema_migration_details.rb
seed_fu.rb FIX: Ensure id sequences are not reset during db:migrate (#14184) 2021-08-30 12:31:22 +01:00
sprockets_patches.rb
translate_accelerator.rb DEV: allow `dev:populate` rake task in production environment. (#13777) 2021-07-20 12:25:59 +05:30