Update migrations.py

This commit is contained in:
Arc 2020-04-17 18:51:06 +01:00 committed by GitHub
parent 03a365256f
commit e330771b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ def m001_initial(db):
wallet TEXT NOT NULL,
shopname TEXT NOT NULL,
indexeraddress TEXT NOT NULL,
ratingkey TEXT NOT NULL,
online BOOLEAN NOT NULL,
rating INTEGER NOT NULL,
shippingzone1 TEXT NOT NULL,
shippingzone2 TEXT NOT NULL,
@ -40,7 +40,7 @@ def m001_initial(db):
"""
Initial indexers table.
Initial orders table.
"""
db.execute("""
CREATE TABLE IF NOT EXISTS orders (