public void Save(Migration migration) { string query = string.Format("insert into schema_migrations(version) values('{0}')", migration.Version); ExecuteNonQuery(query); }
public void Delete(Migration migration) { string query = string.Format("delete from schema_migrations where version = '{0}'", migration.Version); ExecuteNonQuery(query); }