mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: regenerate migrations
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import { useState, useEffect } from "react";
|
|
||||||
import {
|
import {
|
||||||
Activity,
|
Activity,
|
||||||
AudioWaveform,
|
AudioWaveform,
|
||||||
@@ -28,6 +27,7 @@ import {
|
|||||||
Users,
|
Users,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { usePathname } from "next/navigation";
|
import { usePathname } from "next/navigation";
|
||||||
|
import { useEffect, useState } from "react";
|
||||||
import type * as React from "react";
|
import type * as React from "react";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -45,8 +45,8 @@ import {
|
|||||||
} from "@/components/ui/collapsible";
|
} from "@/components/ui/collapsible";
|
||||||
import { Separator } from "@/components/ui/separator";
|
import { Separator } from "@/components/ui/separator";
|
||||||
import {
|
import {
|
||||||
Sidebar,
|
|
||||||
SIDEBAR_COOKIE_NAME,
|
SIDEBAR_COOKIE_NAME,
|
||||||
|
Sidebar,
|
||||||
SidebarContent,
|
SidebarContent,
|
||||||
SidebarFooter,
|
SidebarFooter,
|
||||||
SidebarGroup,
|
SidebarGroup,
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
ALTER TABLE "admin" ADD COLUMN "enableCleanupCache" boolean DEFAULT true NOT NULL;
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
ALTER TABLE "admin" RENAME COLUMN "cleanupCacheOnDeployments" TO "cleanupCacheApplications";--> statement-breakpoint
|
ALTER TABLE "admin" ADD COLUMN "cleanupCacheApplications" boolean DEFAULT true NOT NULL;--> statement-breakpoint
|
||||||
ALTER TABLE "admin" ADD COLUMN "cleanupCacheOnPreviews" boolean DEFAULT false NOT NULL;--> statement-breakpoint
|
ALTER TABLE "admin" ADD COLUMN "cleanupCacheOnPreviews" boolean DEFAULT false NOT NULL;--> statement-breakpoint
|
||||||
ALTER TABLE "admin" ADD COLUMN "cleanupCacheOnCompose" boolean DEFAULT false NOT NULL;
|
ALTER TABLE "admin" ADD COLUMN "cleanupCacheOnCompose" boolean DEFAULT false NOT NULL;
|
||||||
@@ -1 +0,0 @@
|
|||||||
ALTER TABLE "admin" RENAME COLUMN "enableCleanupCache" TO "cleanupCacheOnDeployments";
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "0b4b4db4-2e13-4ef0-8bdd-85bc4bbfe10b",
|
"id": "b00fa001-dd12-4f37-97dc-478c7a790779",
|
||||||
"prevId": "24787a88-0754-437a-b077-03a3265b8ef5",
|
"prevId": "24787a88-0754-437a-b077-03a3265b8ef5",
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"dialect": "postgresql",
|
"dialect": "postgresql",
|
||||||
@@ -969,12 +969,26 @@
|
|||||||
"notNull": true,
|
"notNull": true,
|
||||||
"default": 0
|
"default": 0
|
||||||
},
|
},
|
||||||
"enableCleanupCache": {
|
"cleanupCacheApplications": {
|
||||||
"name": "enableCleanupCache",
|
"name": "cleanupCacheApplications",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"primaryKey": false,
|
"primaryKey": false,
|
||||||
"notNull": true,
|
"notNull": true,
|
||||||
"default": true
|
"default": true
|
||||||
|
},
|
||||||
|
"cleanupCacheOnPreviews": {
|
||||||
|
"name": "cleanupCacheOnPreviews",
|
||||||
|
"type": "boolean",
|
||||||
|
"primaryKey": false,
|
||||||
|
"notNull": true,
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"cleanupCacheOnCompose": {
|
||||||
|
"name": "cleanupCacheOnCompose",
|
||||||
|
"type": "boolean",
|
||||||
|
"primaryKey": false,
|
||||||
|
"notNull": true,
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"indexes": {},
|
"indexes": {},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -404,22 +404,8 @@
|
|||||||
{
|
{
|
||||||
"idx": 57,
|
"idx": 57,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1737266192013,
|
"when": 1737306063563,
|
||||||
"tag": "0057_oval_ken_ellis",
|
"tag": "0057_tricky_living_tribunal",
|
||||||
"breakpoints": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 58,
|
|
||||||
"version": "6",
|
|
||||||
"when": 1737266560950,
|
|
||||||
"tag": "0058_cultured_warpath",
|
|
||||||
"breakpoints": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 59,
|
|
||||||
"version": "6",
|
|
||||||
"when": 1737268325181,
|
|
||||||
"tag": "0059_public_speed",
|
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user