diff --git a/wcs/sql.py b/wcs/sql.py index 3e433616c..e58870283 100644 --- a/wcs/sql.py +++ b/wcs/sql.py @@ -2554,7 +2554,7 @@ def get_yearly_totals(period_start=None, period_end=None, criterias=None): return result -SQL_LEVEL = 40 +SQL_LEVEL = 41 def migrate_global_views(conn, cur): @@ -2668,7 +2668,7 @@ def migrate(): # 21: (second part), store ascii_name of users # 23: (first part), use misc.simplify() over full text queries set_reindex('user', 'needed', conn=conn, cur=cur) - if sql_level < 38: + if sql_level < 41: # 17: store last_update_time in tables # 18: add user name to full-text search index # 21: (third part), add user ascii_names to full-text index @@ -2677,6 +2677,7 @@ def migrate(): # 29: add evolution parts to full-text index # 31: add user_label to formdata # 38: extract submission_agent_id to its own column + # 41: update full text normalization set_reindex('formdata', 'needed', conn=conn, cur=cur) if sql_level < 36: from wcs.formdef import FormDef