Commit 70419ff1 authored by Ryan Herbert's avatar Ryan Herbert

default.py truncate table before init

parent d9e8cb99
Pipeline #18331 passed with stages
in 17 seconds
......@@ -82,8 +82,8 @@ def init_db_form():
def init_db_helper(force=False, admin_email="plop@plop.com", admin_password="1234"):
if (force) or (db(db.auth_user.id > 0).count() == 0) :
#for table in db :
#table.truncate()
for table in db :
table.truncate()
id_first_user=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment