1

Quick question for the Stackoverflow community- I've searched elsewhere and can't seem to find the answer.

If i want to move a rails app that hasn't went very far yet (no records in the tables yet) from mysql to postgresql, would it be fine to just connect to an empty postgresql database and rerun the migrations so the schemas match?

Thanks!

1 Answer 1

2

Yes, it would. :) Change the adapter type in database.yml and you should be good to go.

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

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.