first commit

This commit is contained in:
qwer-xyz
2026-06-20 14:22:31 +08:00
commit c2498911ab
793 changed files with 291660 additions and 0 deletions
@@ -0,0 +1,11 @@
/*
Warnings:
- A unique constraint covering the columns `[user_id,batch_id]` on the table `redeem_code_usages` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "redeem_code_usages" ADD COLUMN "batch_id" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "redeem_code_usages_user_id_batch_id_key" ON "redeem_code_usages"("user_id", "batch_id");