mirror of
https://github.com/beego/bee.git
synced 2025-07-12 09:51:00 +00:00
@ -246,7 +246,7 @@ func selectMigrationsTableSql(driver string) string {
|
||||
case "mysql":
|
||||
return "DESC migrations"
|
||||
case "postgres":
|
||||
return "SELECT * FROM migrations ORDER BY id_migration;"
|
||||
return "SELECT * FROM migrations WHERE false ORDER BY id_migration;"
|
||||
default:
|
||||
return "DESC migrations"
|
||||
}
|
||||
|
Reference in New Issue
Block a user