Skip to content
Snippets Groups Projects
Commit c2de70faf5fb authored by Axel Prel's avatar Axel Prel
Browse files

dbtablenames does not include schema_migrations table

to stop deleting its content
parent 2cd99e5beee9
No related branches found
No related tags found
No related merge requests found
Pipeline #76089 passed
......@@ -182,7 +182,8 @@
if err := db.Select(&dbtablenames,
"SELECT tablename "+
"FROM pg_catalog.pg_tables "+
"WHERE schemaname = 'public'",
"WHERE schemaname = 'public' "+
"AND tablename <> 'schema_migrations';",
); err != nil {
t.Fatal(err)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment