1

Is there a way to copy my local sqlite database table into my postgres database on production? I'm very new to Rails so any help is appreciated!

1
  • Trucker would seem to fit the bill for this. Commented Apr 10, 2013 at 2:47

3 Answers 3

1

You need a tool to export data from Sqlite and import it to Postgres. You can use https://github.com/ricardochimal/taps.

Here is a tutorial for this: http://railscasts.com/episodes/342-migrating-to-postgresql

Sign up to request clarification or add additional context in comments.

Comments

1

You can use taps

notice

I saw you have a question about heroku a few day before. Does this question involved with Heroku? If so, you should not use sqlite locally and postgres remotely.

Comments

0

Take a look at yaml_db for dumping and loading data. Easy to use.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.