aboutsummaryrefslogtreecommitdiffstats
path: root/install.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-16 16:43:32 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-16 16:43:32 +0300
commit2e22e81e000fabd838015bb93757df777f6fbf23 (patch)
tree1939591bfe1c9d5737ae608f8fe8184e5fbeb80f /install.py
parentb97d78d7bcae8ec1aad77bc8bf5941281203f1d2 (diff)
downloadServo-2e22e81e000fabd838015bb93757df777f6fbf23.tar.gz
Servo-2e22e81e000fabd838015bb93757df777f6fbf23.tar.bz2
Servo-2e22e81e000fabd838015bb93757df777f6fbf23.zip
Bump order id sequence
Diffstat (limited to 'install.py')
-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'])