Files
nairobi/lib/tasks
Javi Martín d3882df437 Fix milestones migration not updating ID sequence
When we insert a record in PostgreSQL and we specify the ID, the
internal ID sequence for that table isn't updated.

In order to keep the original IDs so we didn't break any foreign keys,
we specified the IDs when copying the table, resulting in a table having
its ID sequence with a value of an existing record. When trying to
insert a new record, we got a `PG::UniqueViolation` exception.

Updating the sequence after the data migration might not be the most
elegant solution, but it's easy to do and it's already been tested on a
production environment.
2018-11-30 14:15:21 +01:00
..
2015-07-15 13:32:13 +02:00
2018-07-12 10:17:24 -04:00
2017-09-06 14:12:32 +02:00
2017-12-16 17:59:16 +01:00
2018-10-09 13:01:43 +02:00
2018-07-12 10:17:25 -04:00