Skip to content

Commit

Permalink
refactor: regenerate migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Jan 19, 2025
1 parent 93c7f1c commit 23df3fb
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 8,680 deletions.
4 changes: 2 additions & 2 deletions apps/dokploy/components/layouts/side.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use client";
import { useState, useEffect } from "react";
import {
Activity,
AudioWaveform,
Expand Down Expand Up @@ -28,6 +27,7 @@ import {
Users,
} from "lucide-react";
import { usePathname } from "next/navigation";
import { useEffect, useState } from "react";
import type * as React from "react";

import {
Expand All @@ -45,8 +45,8 @@ import {
} from "@/components/ui/collapsible";
import { Separator } from "@/components/ui/separator";
import {
Sidebar,
SIDEBAR_COOKIE_NAME,
Sidebar,
SidebarContent,
SidebarFooter,
SidebarGroup,
Expand Down
1 change: 0 additions & 1 deletion apps/dokploy/drizzle/0057_oval_ken_ellis.sql

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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 "cleanupCacheOnCompose" boolean DEFAULT false NOT NULL;
1 change: 0 additions & 1 deletion apps/dokploy/drizzle/0058_cultured_warpath.sql

This file was deleted.

20 changes: 17 additions & 3 deletions apps/dokploy/drizzle/meta/0057_snapshot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "0b4b4db4-2e13-4ef0-8bdd-85bc4bbfe10b",
"id": "b00fa001-dd12-4f37-97dc-478c7a790779",
"prevId": "24787a88-0754-437a-b077-03a3265b8ef5",
"version": "6",
"dialect": "postgresql",
Expand Down Expand Up @@ -969,12 +969,26 @@
"notNull": true,
"default": 0
},
"enableCleanupCache": {
"name": "enableCleanupCache",
"cleanupCacheApplications": {
"name": "cleanupCacheApplications",
"type": "boolean",
"primaryKey": false,
"notNull": 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": {},
Expand Down
Loading

1 comment on commit 23df3fb

@ahoora999909
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

این فایلها چیست چرا من روی آنها مدیریت ندارم

Please sign in to comment.