I have app that uses sqlite db and there are entries in that table. Now i have to change sqlite to postgres. And the table design is also changed.
If it is the same table design then i would have gone to use taps or dump the data using yaml-db and then push the data to postgres, but in my scenario the table design also changes but i want to move the data from the sqlite to postgres according to the new table.
So i thought of exporting the data from sqlite to a csv file and then move the data from csv to postgres. Is this is the way i have to do or is there is any other way for doing it? If this is the way then how can i export to csv and import to postgres?
Another thing is, after exporting the data from sqlite, is there is a way to push the data through migration?
please help me.