mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-06 12:12:16 +00:00
Revert "chore: remove obsolete SQL files and associated snapshots"
This reverts commit d77c562c84.
# Conflicts:
# apps/dokploy/drizzle/meta/0137_snapshot.json
# apps/dokploy/drizzle/meta/_journal.json
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE "application" ADD COLUMN "bitbucketRepositorySlug" text;--> statement-breakpoint
|
||||||
|
ALTER TABLE "compose" ADD COLUMN "bitbucketRepositorySlug" text;
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
ALTER TYPE "public"."notificationType" ADD VALUE 'resend' BEFORE 'gotify';--> statement-breakpoint
|
||||||
|
CREATE TABLE "resend" (
|
||||||
|
"resendId" text PRIMARY KEY NOT NULL,
|
||||||
|
"apiKey" text NOT NULL,
|
||||||
|
"fromAddress" text NOT NULL,
|
||||||
|
"toAddress" text[] NOT NULL
|
||||||
|
);
|
||||||
|
--> statement-breakpoint
|
||||||
|
ALTER TABLE "notification" ADD COLUMN "resendId" text;--> statement-breakpoint
|
||||||
|
ALTER TABLE "notification" ADD CONSTRAINT "notification_resendId_resend_resendId_fk" FOREIGN KEY ("resendId") REFERENCES "public"."resend"("resendId") ON DELETE cascade ON UPDATE no action;
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "e5c16e66-ec3d-4a91-b3ac-f9ea4577f53f",
|
"id": "3f56c8d0-1d0d-4791-9c4a-06be622dc244",
|
||||||
"prevId": "5958b029-1fb9-4a44-be24-c96b4e899b84",
|
"prevId": "5958b029-1fb9-4a44-be24-c96b4e899b84",
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"dialect": "postgresql",
|
"dialect": "postgresql",
|
||||||
@@ -4492,6 +4492,12 @@
|
|||||||
"primaryKey": false,
|
"primaryKey": false,
|
||||||
"notNull": false
|
"notNull": false
|
||||||
},
|
},
|
||||||
|
"resendId": {
|
||||||
|
"name": "resendId",
|
||||||
|
"type": "text",
|
||||||
|
"primaryKey": false,
|
||||||
|
"notNull": false
|
||||||
|
},
|
||||||
"gotifyId": {
|
"gotifyId": {
|
||||||
"name": "gotifyId",
|
"name": "gotifyId",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -4583,6 +4589,19 @@
|
|||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"onUpdate": "no action"
|
||||||
},
|
},
|
||||||
|
"notification_resendId_resend_resendId_fk": {
|
||||||
|
"name": "notification_resendId_resend_resendId_fk",
|
||||||
|
"tableFrom": "notification",
|
||||||
|
"tableTo": "resend",
|
||||||
|
"columnsFrom": [
|
||||||
|
"resendId"
|
||||||
|
],
|
||||||
|
"columnsTo": [
|
||||||
|
"resendId"
|
||||||
|
],
|
||||||
|
"onDelete": "cascade",
|
||||||
|
"onUpdate": "no action"
|
||||||
|
},
|
||||||
"notification_gotifyId_gotify_gotifyId_fk": {
|
"notification_gotifyId_gotify_gotifyId_fk": {
|
||||||
"name": "notification_gotifyId_gotify_gotifyId_fk",
|
"name": "notification_gotifyId_gotify_gotifyId_fk",
|
||||||
"tableFrom": "notification",
|
"tableFrom": "notification",
|
||||||
@@ -4762,6 +4781,43 @@
|
|||||||
"checkConstraints": {},
|
"checkConstraints": {},
|
||||||
"isRLSEnabled": false
|
"isRLSEnabled": false
|
||||||
},
|
},
|
||||||
|
"public.resend": {
|
||||||
|
"name": "resend",
|
||||||
|
"schema": "",
|
||||||
|
"columns": {
|
||||||
|
"resendId": {
|
||||||
|
"name": "resendId",
|
||||||
|
"type": "text",
|
||||||
|
"primaryKey": true,
|
||||||
|
"notNull": true
|
||||||
|
},
|
||||||
|
"apiKey": {
|
||||||
|
"name": "apiKey",
|
||||||
|
"type": "text",
|
||||||
|
"primaryKey": false,
|
||||||
|
"notNull": true
|
||||||
|
},
|
||||||
|
"fromAddress": {
|
||||||
|
"name": "fromAddress",
|
||||||
|
"type": "text",
|
||||||
|
"primaryKey": false,
|
||||||
|
"notNull": true
|
||||||
|
},
|
||||||
|
"toAddress": {
|
||||||
|
"name": "toAddress",
|
||||||
|
"type": "text[]",
|
||||||
|
"primaryKey": false,
|
||||||
|
"notNull": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"indexes": {},
|
||||||
|
"foreignKeys": {},
|
||||||
|
"compositePrimaryKeys": {},
|
||||||
|
"uniqueConstraints": {},
|
||||||
|
"policies": {},
|
||||||
|
"checkConstraints": {},
|
||||||
|
"isRLSEnabled": false
|
||||||
|
},
|
||||||
"public.slack": {
|
"public.slack": {
|
||||||
"name": "slack",
|
"name": "slack",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
@@ -6309,102 +6365,6 @@
|
|||||||
"checkConstraints": {},
|
"checkConstraints": {},
|
||||||
"isRLSEnabled": false
|
"isRLSEnabled": false
|
||||||
},
|
},
|
||||||
"public.sso_provider": {
|
|
||||||
"name": "sso_provider",
|
|
||||||
"schema": "",
|
|
||||||
"columns": {
|
|
||||||
"id": {
|
|
||||||
"name": "id",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": true,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"issuer": {
|
|
||||||
"name": "issuer",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"oidc_config": {
|
|
||||||
"name": "oidc_config",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"saml_config": {
|
|
||||||
"name": "saml_config",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"provider_id": {
|
|
||||||
"name": "provider_id",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"user_id": {
|
|
||||||
"name": "user_id",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"organization_id": {
|
|
||||||
"name": "organization_id",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"domain": {
|
|
||||||
"name": "domain",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"indexes": {},
|
|
||||||
"foreignKeys": {
|
|
||||||
"sso_provider_user_id_user_id_fk": {
|
|
||||||
"name": "sso_provider_user_id_user_id_fk",
|
|
||||||
"tableFrom": "sso_provider",
|
|
||||||
"tableTo": "user",
|
|
||||||
"columnsFrom": [
|
|
||||||
"user_id"
|
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
|
||||||
"onUpdate": "no action"
|
|
||||||
},
|
|
||||||
"sso_provider_organization_id_organization_id_fk": {
|
|
||||||
"name": "sso_provider_organization_id_organization_id_fk",
|
|
||||||
"tableFrom": "sso_provider",
|
|
||||||
"tableTo": "organization",
|
|
||||||
"columnsFrom": [
|
|
||||||
"organization_id"
|
|
||||||
],
|
|
||||||
"columnsTo": [
|
|
||||||
"id"
|
|
||||||
],
|
|
||||||
"onDelete": "cascade",
|
|
||||||
"onUpdate": "no action"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"compositePrimaryKeys": {},
|
|
||||||
"uniqueConstraints": {
|
|
||||||
"sso_provider_provider_id_unique": {
|
|
||||||
"name": "sso_provider_provider_id_unique",
|
|
||||||
"nullsNotDistinct": false,
|
|
||||||
"columns": [
|
|
||||||
"provider_id"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"policies": {},
|
|
||||||
"checkConstraints": {},
|
|
||||||
"isRLSEnabled": false
|
|
||||||
},
|
|
||||||
"public.user": {
|
"public.user": {
|
||||||
"name": "user",
|
"name": "user",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
@@ -6524,26 +6484,6 @@
|
|||||||
"notNull": true,
|
"notNull": true,
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
"enableEnterpriseFeatures": {
|
|
||||||
"name": "enableEnterpriseFeatures",
|
|
||||||
"type": "boolean",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true,
|
|
||||||
"default": false
|
|
||||||
},
|
|
||||||
"licenseKey": {
|
|
||||||
"name": "licenseKey",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"isValidEnterpriseLicense": {
|
|
||||||
"name": "isValidEnterpriseLicense",
|
|
||||||
"type": "boolean",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true,
|
|
||||||
"default": false
|
|
||||||
},
|
|
||||||
"stripeCustomerId": {
|
"stripeCustomerId": {
|
||||||
"name": "stripeCustomerId",
|
"name": "stripeCustomerId",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -6562,12 +6502,6 @@
|
|||||||
"primaryKey": false,
|
"primaryKey": false,
|
||||||
"notNull": true,
|
"notNull": true,
|
||||||
"default": 0
|
"default": 0
|
||||||
},
|
|
||||||
"trustedOrigins": {
|
|
||||||
"name": "trustedOrigins",
|
|
||||||
"type": "text[]",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"indexes": {},
|
"indexes": {},
|
||||||
@@ -7066,6 +7000,7 @@
|
|||||||
"telegram",
|
"telegram",
|
||||||
"discord",
|
"discord",
|
||||||
"email",
|
"email",
|
||||||
|
"resend",
|
||||||
"gotify",
|
"gotify",
|
||||||
"ntfy",
|
"ntfy",
|
||||||
"pushover",
|
"pushover",
|
||||||
|
|||||||
@@ -964,8 +964,8 @@
|
|||||||
{
|
{
|
||||||
"idx": 137,
|
"idx": 137,
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"when": 1770274109332,
|
"when": 1769595469101,
|
||||||
"tag": "0137_colossal_sally_floyd",
|
"tag": "0137_worried_shriek",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user