push to maple-street

This commit is contained in:
Tiel Coder
2026-11-20 04:07:02 +00:00
parent 2cec220a24
commit 5adf1cef1f
345 changed files with 86105 additions and 1079 deletions
+11
View File
@@ -0,0 +1,11 @@
CREATE TABLE "used_magic_tokens" (
"jti" text PRIMARY KEY NOT NULL,
"email" text NOT NULL,
"used_at" timestamp with time zone DEFAULT now() NOT NULL
);
--> statement-breakpoint
DROP INDEX "users_email_lower_idx";--> statement-breakpoint
ALTER TABLE "user_skills" ADD COLUMN "mentor_approved_at" timestamp with time zone;--> statement-breakpoint
ALTER TABLE "user_skills" ADD COLUMN "mentor_approved_by" text;--> statement-breakpoint
CREATE UNIQUE INDEX "users_email_lower_key" ON "users" USING btree (lower("email"));--> statement-breakpoint
ALTER TABLE "notification_rules" ADD CONSTRAINT "chk_notification_rules_channel" CHECK ("notification_rules"."channel_set" IN ('email','sms','email+sms'));