mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 22:06:20 +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. |
||
---|---|---|
.. | ||
safe_buffer_spec.rb | ||
schema_migration_details_spec.rb | ||
seed_fu_spec.rb | ||
translate_accelerator_spec.rb |