diff options
author | Joe Rafaniello <jrafanie@redhat.com> | 2013-01-10 19:56:30 +0000 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-10-31 18:08:34 -0700 |
commit | 4f6fb19662331afd90539103cd0d2691e72c54b9 (patch) | |
tree | 3a044fa663e65706e720e9d4fd6f869cf99054f2 /actionmailer/test/test_helper_test.rb | |
parent | 45e8a4b6c9b0294c2fd7af1d6ddbde9c728321a9 (diff) | |
download | rails-4f6fb19662331afd90539103cd0d2691e72c54b9.tar.gz rails-4f6fb19662331afd90539103cd0d2691e72c54b9.tar.bz2 rails-4f6fb19662331afd90539103cd0d2691e72c54b9.zip |
Added region sequencing of primary keys for Postgres.
Skip setting sequence on a table create if the value is 0 since it will start the first value at 1 anyway.
This fixes the PG error 'setval: value 0 is out of bounds for sequence vms_id_seq...' encountered when migrating a new DB.
BugzID: 15452,9772,13475,16850
Diffstat (limited to 'actionmailer/test/test_helper_test.rb')
0 files changed, 0 insertions, 0 deletions