Fixed rollback order.
Fixed foreign key syntax.
Added more migrations.