refactoring
create the schema migrations table
update the schema_migrations table with the version number of each migration that has been applied