Skip to content

Commit 17acc4e

Browse files
committed
fix: remove 'public' schema from __words table in fix_version_3_tables
If you are using a different schema than public, fix_version_3_tables crashes on the migration/setup. Nothing else n the postgresql code uses an explicit public schema. This removes an impediment for those wanting to use schemas rather than databases as the primary organizational structure. See: issue2551299 Also see: issue2550852 for code to allow use of schemas as a first class config parameter.
1 parent bfc6342 commit 17acc4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/back_postgresql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def fix_version_2_tables(self):
381381

382382
def fix_version_3_tables(self):
383383
rdbms_common.Database.fix_version_3_tables(self)
384-
self.sql('''CREATE INDEX words_both_idx ON public.__words
384+
self.sql('''CREATE INDEX words_both_idx ON __words
385385
USING btree (_word, _textid)''')
386386

387387
def _add_fts_table(self):

0 commit comments

Comments
 (0)