Skip to content

Commit bfa81da

Browse files
committed
Add words_both_idx to newly created databases.
The changes to the otk and session table done by fix_version_3_tables look like they were rolled into create_version_2_tables, but the new index creation wasn't. So call self.fix_version_3_tables() to add the index.
1 parent ac552f1 commit bfa81da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roundup/backends/back_postgresql.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def open_connection(self):
196196
self.sql("CREATE TABLE dual (dummy integer)")
197197
self.sql("insert into dual values (1)")
198198
self.create_version_2_tables()
199+
self.fix_version_3_tables()
199200
# Need to commit here, otherwise otk/session will not find
200201
# the necessary tables (in a parallel connection!)
201202
self.commit()

0 commit comments

Comments
 (0)