diff options
author | priscilla <priscilla.huang@efrei.net> | 2023-02-21 12:41:06 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2023-02-21 12:41:45 -0500 |
commit | 052e3b55b3af20ac744251b9e945af4611422e9f (patch) | |
tree | e0495a4adda1bc3250063077b1446ca9527a73ca /src | |
parent | 9ac6fc8c84748f3de070b44822ec47c4f854bd15 (diff) | |
download | merchant-052e3b55b3af20ac744251b9e945af4611422e9f.tar.gz merchant-052e3b55b3af20ac744251b9e945af4611422e9f.tar.bz2 merchant-052e3b55b3af20ac744251b9e945af4611422e9f.zip |
fix syntax
Diffstat (limited to 'src')
-rw-r--r-- | src/backenddb/merchant-0004.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/merchant-0004.sql b/src/backenddb/merchant-0004.sql index e74ff1f9..5456573b 100644 --- a/src/backenddb/merchant-0004.sql +++ b/src/backenddb/merchant-0004.sql @@ -32,8 +32,8 @@ CREATE TABLE IF NOT EXISTS merchant_template REFERENCES merchant_instances (merchant_serial) ON DELETE CASCADE ,template_id VARCHAR NOT NULL ,template_description VARCHAR NOT NULL - ,pos_key VARCHAR DEFAULT NULL, - ,pos_algorithm INT NOT NULL DEFAULT (0); + ,pos_key VARCHAR DEFAULT NULL + ,pos_algorithm INT NOT NULL DEFAULT (0) ,template_contract VARCHAR NOT NULL -- in JSON format ,UNIQUE (merchant_serial, template_id) ); |