Revert "feat(loyalty): EnakPoint & EnakCoin" (#32)

This reverts merge commit 645da30, returning main to f0ff59f.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
efrilm
2026-09-30 15:16:15 +07:00
co-authored by Claude Opus 5.5
parent 645da3048e
commit 4e24f9bbb0
195 changed files with 2179 additions and 20060 deletions
@@ -1,11 +0,0 @@
-- Which expiry reminders have gone out (docs/prd-point-coin.md F12): one per
-- customer, currency and expiry day. The row is written before the push is sent, so
-- several instances of the job, or a restart, never remind twice.
CREATE TABLE wallet_expiry_reminders (
customer_id UUID NOT NULL REFERENCES customers(id) ON DELETE CASCADE,
currency VARCHAR(10) NOT NULL CHECK (currency IN ('POINT','COIN')),
expiry_date DATE NOT NULL,
amount BIGINT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
PRIMARY KEY (customer_id, currency, expiry_date)
);