I recently migrated my rails app to PostgreSQL in order to take advantage of fulltext search.
Since the migration coincided with moving to a new webhost, the steps for m
Another way is remove the primary key (id) from the columns (or don't dump the id). So your data would look like
INSERT INTO book (name, price) VALUES ('Alchemist' , 10);
instead of
INSERT INTO book (id, name, price) VALUES (1 , 'Alchemist' , 10);
This way, you won't have to reset the primary key after loading initial data