mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore(migrations): remove migrations
This commit is contained in:
parent
388ded9aa5
commit
3ce25e2ac8
@ -1 +0,0 @@
|
|||||||
ALTER TABLE "ssh-key" ADD COLUMN "privateKey" text DEFAULT '' NOT NULL;
|
|
@ -1,6 +0,0 @@
|
|||||||
ALTER TABLE "ssh-key" ADD COLUMN "adminId" text;--> statement-breakpoint
|
|
||||||
DO $$ BEGIN
|
|
||||||
ALTER TABLE "ssh-key" ADD CONSTRAINT "ssh-key_adminId_admin_adminId_fk" FOREIGN KEY ("adminId") REFERENCES "public"."admin"("adminId") ON DELETE cascade ON UPDATE no action;
|
|
||||||
EXCEPTION
|
|
||||||
WHEN duplicate_object THEN null;
|
|
||||||
END $$;
|
|
File diff suppressed because it is too large
Load Diff
@ -1,279 +1,279 @@
|
|||||||
{
|
{
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"dialect": "pg",
|
"dialect": "pg",
|
||||||
"entries": [
|
"entries": [
|
||||||
{
|
{
|
||||||
"idx": 0,
|
"idx": 0,
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"when": 1713262741218,
|
"when": 1713262741218,
|
||||||
"tag": "0000_reflective_puck",
|
"tag": "0000_reflective_puck",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"when": 1713761637676,
|
"when": 1713761637676,
|
||||||
"tag": "0001_striped_tattoo",
|
"tag": "0001_striped_tattoo",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 2,
|
"idx": 2,
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"when": 1713763492341,
|
"when": 1713763492341,
|
||||||
"tag": "0002_ambiguous_carlie_cooper",
|
"tag": "0002_ambiguous_carlie_cooper",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 3,
|
"idx": 3,
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"when": 1713947141424,
|
"when": 1713947141424,
|
||||||
"tag": "0003_square_lightspeed",
|
"tag": "0003_square_lightspeed",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 4,
|
"idx": 4,
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"when": 1714004732716,
|
"when": 1714004732716,
|
||||||
"tag": "0004_nice_tenebrous",
|
"tag": "0004_nice_tenebrous",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 5,
|
"idx": 5,
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"when": 1715551130605,
|
"when": 1715551130605,
|
||||||
"tag": "0005_cute_terror",
|
"tag": "0005_cute_terror",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 6,
|
"idx": 6,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1715563165991,
|
"when": 1715563165991,
|
||||||
"tag": "0006_oval_jimmy_woo",
|
"tag": "0006_oval_jimmy_woo",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 7,
|
"idx": 7,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1715563497100,
|
"when": 1715563497100,
|
||||||
"tag": "0007_cute_guardsmen",
|
"tag": "0007_cute_guardsmen",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 8,
|
"idx": 8,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1715564143641,
|
"when": 1715564143641,
|
||||||
"tag": "0008_lazy_sage",
|
"tag": "0008_lazy_sage",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 9,
|
"idx": 9,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1715564774423,
|
"when": 1715564774423,
|
||||||
"tag": "0009_majestic_spencer_smythe",
|
"tag": "0009_majestic_spencer_smythe",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 10,
|
"idx": 10,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1715574037832,
|
"when": 1715574037832,
|
||||||
"tag": "0010_lean_black_widow",
|
"tag": "0010_lean_black_widow",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 11,
|
"idx": 11,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1715574230599,
|
"when": 1715574230599,
|
||||||
"tag": "0011_petite_calypso",
|
"tag": "0011_petite_calypso",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 12,
|
"idx": 12,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1716015716708,
|
"when": 1716015716708,
|
||||||
"tag": "0012_chubby_umar",
|
"tag": "0012_chubby_umar",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 13,
|
"idx": 13,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1716076179443,
|
"when": 1716076179443,
|
||||||
"tag": "0013_blushing_starjammers",
|
"tag": "0013_blushing_starjammers",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 14,
|
"idx": 14,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1716715367982,
|
"when": 1716715367982,
|
||||||
"tag": "0014_same_hammerhead",
|
"tag": "0014_same_hammerhead",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 15,
|
"idx": 15,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1717564517104,
|
"when": 1717564517104,
|
||||||
"tag": "0015_fearless_callisto",
|
"tag": "0015_fearless_callisto",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 16,
|
"idx": 16,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1719109196484,
|
"when": 1719109196484,
|
||||||
"tag": "0016_chunky_leopardon",
|
"tag": "0016_chunky_leopardon",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 17,
|
"idx": 17,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1719547174326,
|
"when": 1719547174326,
|
||||||
"tag": "0017_minor_post",
|
"tag": "0017_minor_post",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 18,
|
"idx": 18,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1719928377858,
|
"when": 1719928377858,
|
||||||
"tag": "0018_careful_killmonger",
|
"tag": "0018_careful_killmonger",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 19,
|
"idx": 19,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721110706912,
|
"when": 1721110706912,
|
||||||
"tag": "0019_heavy_freak",
|
"tag": "0019_heavy_freak",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 20,
|
"idx": 20,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721363861686,
|
"when": 1721363861686,
|
||||||
"tag": "0020_fantastic_slapstick",
|
"tag": "0020_fantastic_slapstick",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 21,
|
"idx": 21,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721370423752,
|
"when": 1721370423752,
|
||||||
"tag": "0021_premium_sebastian_shaw",
|
"tag": "0021_premium_sebastian_shaw",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 22,
|
"idx": 22,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721531163852,
|
"when": 1721531163852,
|
||||||
"tag": "0022_warm_colonel_america",
|
"tag": "0022_warm_colonel_america",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 23,
|
"idx": 23,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721542782659,
|
"when": 1721542782659,
|
||||||
"tag": "0023_icy_maverick",
|
"tag": "0023_icy_maverick",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 24,
|
"idx": 24,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721603595092,
|
"when": 1721603595092,
|
||||||
"tag": "0024_dapper_supernaut",
|
"tag": "0024_dapper_supernaut",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 25,
|
"idx": 25,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721633853118,
|
"when": 1721633853118,
|
||||||
"tag": "0025_lying_mephisto",
|
"tag": "0025_lying_mephisto",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 26,
|
"idx": 26,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1721979220929,
|
"when": 1721979220929,
|
||||||
"tag": "0026_known_dormammu",
|
"tag": "0026_known_dormammu",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 27,
|
"idx": 27,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1722445099203,
|
"when": 1722445099203,
|
||||||
"tag": "0027_red_lady_bullseye",
|
"tag": "0027_red_lady_bullseye",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 28,
|
"idx": 28,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1722503439951,
|
"when": 1722503439951,
|
||||||
"tag": "0028_jittery_eternity",
|
"tag": "0028_jittery_eternity",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 29,
|
"idx": 29,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1722578386823,
|
"when": 1722578386823,
|
||||||
"tag": "0029_colossal_zodiak",
|
"tag": "0029_colossal_zodiak",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 30,
|
"idx": 30,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1723608499147,
|
"when": 1723608499147,
|
||||||
"tag": "0030_little_kabuki",
|
"tag": "0030_little_kabuki",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 31,
|
"idx": 31,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1723701656243,
|
"when": 1723701656243,
|
||||||
"tag": "0031_steep_vulture",
|
"tag": "0031_steep_vulture",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 32,
|
"idx": 32,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1723705257806,
|
"when": 1723705257806,
|
||||||
"tag": "0032_flashy_shadow_king",
|
"tag": "0032_flashy_shadow_king",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 33,
|
"idx": 33,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1725250322137,
|
"when": 1725250322137,
|
||||||
"tag": "0033_white_hawkeye",
|
"tag": "0033_white_hawkeye",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 34,
|
"idx": 34,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1725256397019,
|
"when": 1725256397019,
|
||||||
"tag": "0034_aspiring_secret_warriors",
|
"tag": "0034_aspiring_secret_warriors",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 35,
|
"idx": 35,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1725429324584,
|
"when": 1725429324584,
|
||||||
"tag": "0035_cool_gravity",
|
"tag": "0035_cool_gravity",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 36,
|
"idx": 36,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1725519351871,
|
"when": 1725519351871,
|
||||||
"tag": "0036_tired_ronan",
|
"tag": "0036_tired_ronan",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 37,
|
"idx": 37,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1726988289562,
|
"when": 1726988289562,
|
||||||
"tag": "0037_legal_namor",
|
"tag": "0037_legal_namor",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idx": 38,
|
"idx": 38,
|
||||||
"version": "6",
|
"version": "6",
|
||||||
"when": 1727942090102,
|
"when": 1727942090102,
|
||||||
"tag": "0038_rapid_landau",
|
"tag": "0038_rapid_landau",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,24 +1,28 @@
|
|||||||
import { build } from "esbuild";
|
// import { build } from "esbuild";
|
||||||
import path from "node:path";
|
// import alias from "esbuild-plugin-alias";
|
||||||
|
// import path from "node:path";
|
||||||
|
// import { fileURLToPath } from "node:url";
|
||||||
|
// const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
|
||||||
|
// const __dirname = path.dirname(__filename);
|
||||||
|
|
||||||
build({
|
// build({
|
||||||
entryPoints: ["./src/**/*.ts", "./src/**/*.tsx"], // Punto de entrada principal de tu aplicación
|
// entryPoints: ["./src/**/*.ts"],
|
||||||
outdir: "dist",
|
// // outfile: "./dist/index.js",
|
||||||
platform: "node",
|
// outdir: "./dist",
|
||||||
format: "esm",
|
// bundle: true,
|
||||||
sourcemap: false,
|
// minify: false,
|
||||||
tsconfig: "./tsconfig.server.json",
|
// platform: "node",
|
||||||
plugins: [
|
// target: "esnext",
|
||||||
// TsconfigPathsPlugin({ tsconfig: "./tsconfig.server.json" }),
|
// format: "esm",
|
||||||
{
|
// plugins: [
|
||||||
name: "AddJsExtensions",
|
// alias({
|
||||||
setup(build) {
|
// "@/server": path.resolve(__dirname, "src"),
|
||||||
build.onResolve({ filter: /.*/ }, (args) => {
|
// }),
|
||||||
if (args.path.startsWith(".") && !path.extname(args.path)) {
|
// ],
|
||||||
return { path: `${args.path}.js` };
|
// packages: "external",
|
||||||
}
|
// // Opcional: si deseas emitir declaraciones de tipos con esbuild-plugin-dts
|
||||||
});
|
// })
|
||||||
},
|
// .then(() => {
|
||||||
},
|
// console.log("Build successful");
|
||||||
],
|
// })
|
||||||
}).catch(() => process.exit(1));
|
// .catch(() => process.exit(1));
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "rm -rf ./dist && tsc --project tsconfig.server.json && tsc-alias -p tsconfig.server.json --watch",
|
|
||||||
"build": "rm -rf ./dist && tsc --project tsconfig.server.json && tsc-alias -p tsconfig.server.json",
|
"build": "rm -rf ./dist && tsc --project tsconfig.server.json && tsc-alias -p tsconfig.server.json",
|
||||||
"esbuild": "tsx --watch ./esbuild.config.ts & tsc-alias -p tsconfig.server.json --watch",
|
"build:types": "tsc --emitDeclarationOnly --experimenta-dts",
|
||||||
"build:types": "tsc --emitDeclarationOnly --experimenta-dts"
|
"dev": "rm -rf ./dist && pnpm esbuild && tsc --emitDeclarationOnly --outDir dist -p tsconfig.server.json",
|
||||||
|
"esbuild": "tsx ./esbuild.config.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"rotating-file-stream": "3.2.3",
|
"rotating-file-stream": "3.2.3",
|
||||||
@ -67,7 +67,6 @@
|
|||||||
"esbuild": "0.20.2",
|
"esbuild": "0.20.2",
|
||||||
"postcss": "^8.4.31",
|
"postcss": "^8.4.31",
|
||||||
"typescript": "^5.4.2",
|
"typescript": "^5.4.2",
|
||||||
"@types/ssh2": "1.15.1",
|
"@types/ssh2": "1.15.1"
|
||||||
"tsup": "6.4.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user