I have a database with the following schema:
[ Region ] 1 --- * [ District ] 1 --- * [ Location ]
I would like to split the middle table into two tables as follows:
[ Region ] 1 --- * [ District ] 1 --- * [ Area ] 1 --- * [ Location ]
...leaving some fields (and their values) in the original District table while transferring other columns (and their values) into the newly-created Area table.
Is there a standard/clean way to do this in a rails migration (preferably without the use of raw SQL)?