feat(platform): add Discord onboarding and Velocity gate

This commit is contained in:
dmg
2026-08-01 13:45:18 -04:00
parent 9d305e5dc9
commit c5de0a1810
80 changed files with 4840 additions and 1572 deletions
@@ -0,0 +1,10 @@
CREATE TABLE "plugin_requests" (
"request_id" uuid PRIMARY KEY NOT NULL,
"server_id" text NOT NULL,
"received_at" timestamp (3) with time zone DEFAULT now() NOT NULL,
"expires_at" timestamp (3) with time zone NOT NULL
);
--> statement-breakpoint
ALTER TABLE "plugin_requests" ADD CONSTRAINT "plugin_requests_server_id_plugin_credentials_server_id_fk" FOREIGN KEY ("server_id") REFERENCES "public"."plugin_credentials"("server_id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "plugin_requests_expires_idx" ON "plugin_requests" USING btree ("expires_at");--> statement-breakpoint
ALTER TABLE "app_settings" DROP COLUMN "discord_guild_id";
File diff suppressed because it is too large Load Diff
@@ -8,6 +8,13 @@
"when": 1785603505066,
"tag": "0000_supreme_human_fly",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1785605590058,
"tag": "0001_silent_ultragirl",
"breakpoints": true
}
]
}