I am migrating my site from PHP to Rails.
At the same time I want to migrate my database from MySQL to PostgreSQL. However, the schema I have in the MySQL database is poor. Therefore, I want to implement a new schema in the PostgreSQL database.
Basically, I want take the data from the MySQL database and I want to fit it to the new schema in the PostgreSQL database. The new tables in the PostgreSQL database consisted of joined views from the MySQL database.
I am new to this sort of thing and I don't really know to start.