diff --git a/drizzle/0017_minor_post.sql b/drizzle/0017_minor_post.sql new file mode 100644 index 000000000..80a71d095 --- /dev/null +++ b/drizzle/0017_minor_post.sql @@ -0,0 +1 @@ +ALTER TABLE "deployment" ADD COLUMN "description" text; \ No newline at end of file diff --git a/drizzle/0017_yummy_norrin_radd.sql b/drizzle/0017_yummy_norrin_radd.sql deleted file mode 100644 index 570a343e1..000000000 --- a/drizzle/0017_yummy_norrin_radd.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE "user" ALTER COLUMN "token" DROP NOT NULL; \ No newline at end of file diff --git a/drizzle/meta/0017_snapshot.json b/drizzle/meta/0017_snapshot.json index 83f744c5f..afeb4aa35 100644 --- a/drizzle/meta/0017_snapshot.json +++ b/drizzle/meta/0017_snapshot.json @@ -1,5 +1,5 @@ { - "id": "7610c85e-c3e4-4a32-8ce9-7f48b298f956", + "id": "ec852f38-886a-43b4-9295-73984ed8ef45", "prevId": "2d8d7670-b942-4573-9c44-6e81d2a2fa16", "version": "6", "dialect": "postgresql", @@ -465,7 +465,7 @@ "name": "token", "type": "text", "primaryKey": false, - "notNull": false + "notNull": true }, "isRegistered": { "name": "isRegistered", @@ -1585,6 +1585,12 @@ "primaryKey": false, "notNull": true }, + "description": { + "name": "description", + "type": "text", + "primaryKey": false, + "notNull": false + }, "status": { "name": "status", "type": "deploymentStatus", diff --git a/drizzle/meta/_journal.json b/drizzle/meta/_journal.json index 79bef40a6..7a8a186f6 100644 --- a/drizzle/meta/_journal.json +++ b/drizzle/meta/_journal.json @@ -124,8 +124,8 @@ { "idx": 17, "version": "6", - "when": 1719109531147, - "tag": "0017_yummy_norrin_radd", + "when": 1719547174326, + "tag": "0017_minor_post", "breakpoints": true } ] diff --git a/server/api/routers/compose.ts b/server/api/routers/compose.ts index f23550b40..a722d17a9 100644 --- a/server/api/routers/compose.ts +++ b/server/api/routers/compose.ts @@ -138,6 +138,7 @@ export const composeRouter = createTRPCRouter({ titleLog: "Manual deployment", type: "deploy", applicationType: "compose", + descriptionLog: "", }; await myQueue.add( "deployments", @@ -156,6 +157,7 @@ export const composeRouter = createTRPCRouter({ titleLog: "Rebuild deployment", type: "redeploy", applicationType: "compose", + descriptionLog: "", }; await myQueue.add( "deployments",