diff options
-rwxr-xr-x | install.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,7 +48,8 @@ fh.write(s) fh.close() print("** Setting up database tables **") -call(['./manage.py', 'migrate']) +assert call(['./manage.py', 'migrate']) == 0, "Failed to create database tables" + call(['psql', '-c', 'ALTER SEQUENCE servo_order_id_seq RESTART WITH 12345', args['dbname'], args['dbuser']]) print("** Creating directories **") |