summaryrefslogtreecommitdiff
path: root/src/backenddb/merchant-0003.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/merchant-0003.sql')
-rw-r--r--src/backenddb/merchant-0003.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backenddb/merchant-0003.sql b/src/backenddb/merchant-0003.sql
index 80860d23..370af625 100644
--- a/src/backenddb/merchant-0003.sql
+++ b/src/backenddb/merchant-0003.sql
@@ -54,5 +54,12 @@ COMMENT ON COLUMN merchant_kyc.exchange_url
IS 'Which exchange base URL is this KYC status valid for';
+-- add age restriction column to product
+ALTER TABLE merchant_inventory
+ ADD COLUMN minimum_age INT4 NOT NULL DEFAULT 0;
+COMMENT ON COLUMN merchant_inventory.minimum_age
+ IS 'Minimum age of the customer in years, to be used if an exchange supports the age restriction extension.';
+
+
-- Complete transaction
COMMIT;