mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
ed688bec8c
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. |
||
---|---|---|
.. | ||
active_record_attribute_methods.rb | ||
active_record_base.rb | ||
active_record_postgresql_adapter.rb | ||
ams_include_without_root.rb | ||
better_handlebars_errors.rb | ||
copy_file.rb | ||
ember_handlebars.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
open_uri_redirections.rb | ||
pluck_first.rb | ||
rails_multisite.rb | ||
rails4.rb | ||
raw_handlebars.rb | ||
safe_buffer.rb | ||
safe_migrations.rb | ||
schema_cache_concurrency.rb | ||
schema_migration_details.rb | ||
seed_fu.rb | ||
sprockets_patches.rb | ||
translate_accelerator.rb |