mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 07:03:51 +01:00
Merge pull request #2024 from jerrykan/db_port_schema
Don't assume postgres tables are in the public schema during db port
This commit is contained in:
commit
2dc57e7413
1 changed files with 1 additions and 3 deletions
|
@ -447,9 +447,7 @@ class Porter(object):
|
||||||
|
|
||||||
postgres_tables = yield self.postgres_store._simple_select_onecol(
|
postgres_tables = yield self.postgres_store._simple_select_onecol(
|
||||||
table="information_schema.tables",
|
table="information_schema.tables",
|
||||||
keyvalues={
|
keyvalues={},
|
||||||
"table_schema": "public",
|
|
||||||
},
|
|
||||||
retcol="distinct table_name",
|
retcol="distinct table_name",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue