jordi fita mas
2a98b9c0af
I was using explicit IDs because i need them to satisfy foreign key constraints, and also to look them up within the file, but then i had the problem that the sequences would be left at 1, preventing me to add new contacts or products, for instance. Now i use the sequence exactly how the application will (i.e., with default values), but i have to reset them to 1 to make the ID stable even when i make tests with pgTAP on the same database. |
||
---|---|---|
.. | ||
demo.sql |