mirror of
https://github.com/casbin/bee.git
synced 2025-07-17 03:04:21 +08: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