mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Add migration for '0081_lovely_mentallo': remove gitea_username column and update journal with new version
This commit is contained in:
parent
55328468d1
commit
7144adbf0c
1
apps/dokploy/drizzle/0081_lovely_mentallo.sql
Normal file
1
apps/dokploy/drizzle/0081_lovely_mentallo.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE "gitea" DROP COLUMN "gitea_username";
|
5342
apps/dokploy/drizzle/meta/0081_snapshot.json
Normal file
5342
apps/dokploy/drizzle/meta/0081_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -568,6 +568,13 @@
|
|||||||
"when": 1743280866402,
|
"when": 1743280866402,
|
||||||
"tag": "0080_sleepy_sinister_six",
|
"tag": "0080_sleepy_sinister_six",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 81,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1743281254393,
|
||||||
|
"tag": "0081_lovely_mentallo",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -17,7 +17,6 @@ export const gitea = pgTable("gitea", {
|
|||||||
gitProviderId: text("gitProviderId")
|
gitProviderId: text("gitProviderId")
|
||||||
.notNull()
|
.notNull()
|
||||||
.references(() => gitProvider.gitProviderId, { onDelete: "cascade" }),
|
.references(() => gitProvider.gitProviderId, { onDelete: "cascade" }),
|
||||||
giteaUsername: text("gitea_username"),
|
|
||||||
accessToken: text("access_token"),
|
accessToken: text("access_token"),
|
||||||
refreshToken: text("refresh_token"),
|
refreshToken: text("refresh_token"),
|
||||||
expiresAt: integer("expires_at"),
|
expiresAt: integer("expires_at"),
|
||||||
|
Loading…
Reference in New Issue
Block a user