db migration with fk