diff options
Diffstat (limited to 'src/backenddb/merchant-0004.sql')
-rw-r--r-- | src/backenddb/merchant-0004.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backenddb/merchant-0004.sql b/src/backenddb/merchant-0004.sql index b63594ee..3864f37d 100644 --- a/src/backenddb/merchant-0004.sql +++ b/src/backenddb/merchant-0004.sql @@ -34,7 +34,7 @@ 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 - ,image BYTEA + ,pos_key VARCHAR ,template_contract VARCHAR NOT NULL -- in JSON format ,UNIQUE (merchant_serial, template_id) ); @@ -42,8 +42,8 @@ COMMENT ON TABLE merchant_template IS 'template used by the merchant (may be incomplete, frontend can override)'; COMMENT ON COLUMN merchant_template.template_description IS 'Human-readable template description'; -COMMENT ON COLUMN merchant_template.image - IS 'NOT NULL, but can be 0 bytes; must contain an ImageDataUrl'; +COMMENT ON COLUMN merchant_template.pos_key + IS 'A base64-encoded key of the point-of-sale. It will be use by the TOTP'; COMMENT ON COLUMN merchant_template.template_contract IS 'The template contract will contains some additional information.'; |