mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
Initial commit: Meshkee CMS API
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- Reward points earned when purchasing a store item variant (festival rewards — usage later)
|
||||
ALTER TABLE product_variants
|
||||
ADD COLUMN reward_points INTEGER;
|
||||
|
||||
ALTER TABLE product_variants
|
||||
ADD CONSTRAINT product_variants_reward_points_non_negative
|
||||
CHECK (reward_points IS NULL OR reward_points >= 0);
|
||||
Reference in New Issue
Block a user