func DropMigrationsTable(dbMap *gorp.DbMap) error { qt := fmt.Sprintf("DROP TABLE IF EXISTS %s;", dbMap.Dialect.QuotedTableForQuery("", migrationTable)) _, err := dbMap.Exec(qt) return err }
func DropMigrationsTable(dbMap *gorp.DbMap) error { qt := pq.QuoteIdentifier(migrationTable) _, err := dbMap.Exec(fmt.Sprintf("drop table if exists %s ;", qt)) return err }