From 2e22e81e000fabd838015bb93757df777f6fbf23 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 16 Sep 2015 16:43:32 +0300 Subject: Bump order id sequence --- install.py | 1 + 1 file changed, 1 insertion(+) 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']) -- cgit v1.2.3