I have been developing locally for some time and am now pushing everything to production. Of course I was also adding data to the development server without thinking that I hadn't reconfigured it to be Postgres.
Now I have a SQLite DB who's information I need to be on a remote VPS on a Postgres DB there.
I have tried dumping to a .sql file but am getting a lot of syntax complaints from Postgres. What's the best way to do this?
CREATE TABLE
. (Forget what I said about DML in that context.) Just make sure Pg has the same schema -- Pg would use a sequence for the "autoincrement" column -- and then make sure the import only contains DML (e.gINSERT
). – user166390 Aug 18 '12 at 18:40