mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-26 01:25:22 +02:00
refactor: restructure application and rollback context to encapsulate project within environment, improving data organization and clarity across services
This commit is contained in:
@@ -27,7 +27,9 @@ export const rollbacks = pgTable("rollback", {
|
||||
.$defaultFn(() => new Date().toISOString()),
|
||||
fullContext: jsonb("fullContext").$type<
|
||||
Application & {
|
||||
project: Project;
|
||||
environment: {
|
||||
project: Project;
|
||||
};
|
||||
mounts: Mount[];
|
||||
ports: Port[];
|
||||
registry?: Registry | null;
|
||||
|
||||
Reference in New Issue
Block a user