feat(platform): add Discord onboarding and Velocity gate
This commit is contained in:
@@ -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";
|
||||
Reference in New Issue
Block a user