merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 5877ca06c5565807dea810c690abd030b7a6ac24
parent 2b9b937f7fcb96f7ef5c8d22f747391244eb6c6b
Author: priscilla <priscilla.huang@efrei.net>
Date:   Thu, 17 Nov 2022 04:03:20 -0500

Update

Diffstat:
Msrc/backenddb/merchant-0001.sql | 24------------------------
1 file changed, 0 insertions(+), 24 deletions(-)

diff --git a/src/backenddb/merchant-0001.sql b/src/backenddb/merchant-0001.sql @@ -599,29 +599,5 @@ COMMENT ON COLUMN merchant_kyc.exchange_url IS 'Which exchange base URL is this KYC status valid for'; ----------------------------Template------------------------------ - - -CREATE TABLE IF NOT EXISTS merchant_template - (template_serial BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY - ,merchant_serial BIGINT NOT NULL - REFERENCES merchant_instances (merchant_serial) ON DELETE CASCADE - ,template_id VARCHAR NOT NULL - ,template_description VARCHAR NOT NULL - ,image BYTEA - ,template_contract VARCHAR NOT NULL -- in JSON format - ,UNIQUE (merchant_serial, template_id) - ); -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.template_contract - IS 'The template contract will contains some additional information.' - - - -- Complete transaction COMMIT;