aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.py b/install.py
index a9808bc..54a8aa3 100755
--- a/install.py
+++ b/install.py
@@ -43,6 +43,7 @@ loc = {}
print("** Setting up database tables **")
call(['./manage.py', 'migrate', '--no-initial-data'])
+call(['psql', '-c', 'ALTER SEQUENCE servo_order_id_seq RESTART WITH 12345'])
print("** Creating Super User **")
call(['./manage.py', 'createsuperuser'])