Skip to content

Commit

Permalink
fix: remove token migration from user
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Jun 28, 2024
1 parent 3cfc2d6 commit 899d756
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions drizzle/0017_minor_post.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "deployment" ADD COLUMN "description" text;
1 change: 0 additions & 1 deletion drizzle/0017_yummy_norrin_radd.sql

This file was deleted.

10 changes: 8 additions & 2 deletions drizzle/meta/0017_snapshot.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -465,7 +465,7 @@
"name": "token",
"type": "text",
"primaryKey": false,
"notNull": false
"notNull": true
},
"isRegistered": {
"name": "isRegistered",
Expand Down Expand Up @@ -1585,6 +1585,12 @@
"primaryKey": false,
"notNull": true
},
"description": {
"name": "description",
"type": "text",
"primaryKey": false,
"notNull": false
},
"status": {
"name": "status",
"type": "deploymentStatus",
Expand Down
4 changes: 2 additions & 2 deletions drizzle/meta/_journal.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
{
"idx": 17,
"version": "6",
"when": 1719109531147,
"tag": "0017_yummy_norrin_radd",
"when": 1719547174326,
"tag": "0017_minor_post",
"breakpoints": true
}
]
Expand Down
2 changes: 2 additions & 0 deletions server/api/routers/compose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const composeRouter = createTRPCRouter({
titleLog: "Manual deployment",
type: "deploy",
applicationType: "compose",
descriptionLog: "",
};
await myQueue.add(
"deployments",
Expand All @@ -156,6 +157,7 @@ export const composeRouter = createTRPCRouter({
titleLog: "Rebuild deployment",
type: "redeploy",
applicationType: "compose",
descriptionLog: "",
};
await myQueue.add(
"deployments",
Expand Down

0 comments on commit 899d756

Please sign in to comment.