how is the db migration is handled? is there a way to handle db:migration myself? what about if i want to use usertable as a foreign key