Skip to content

Commit e557b02

Browse files
committed
fix(auth): rename redirect_u_r_ls column to redirect_urls
1 parent 40a77c2 commit e557b02

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/db/migrations/0157_ambitious_scourge.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CREATE TABLE "oauth_application" (
2727
"metadata" text,
2828
"client_id" text NOT NULL,
2929
"client_secret" text,
30-
"redirect_u_r_ls" text NOT NULL,
30+
"redirect_urls" text NOT NULL,
3131
"type" text NOT NULL,
3232
"disabled" boolean DEFAULT false,
3333
"user_id" text,

packages/db/migrations/meta/0157_snapshot.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5014,8 +5014,8 @@
50145014
"primaryKey": false,
50155015
"notNull": false
50165016
},
5017-
"redirect_u_r_ls": {
5018-
"name": "redirect_u_r_ls",
5017+
"redirect_urls": {
5018+
"name": "redirect_urls",
50195019
"type": "text",
50205020
"primaryKey": false,
50215021
"notNull": true

packages/db/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2344,7 +2344,7 @@ export const oauthApplication = pgTable(
23442344
metadata: text('metadata'),
23452345
clientId: text('client_id').notNull().unique(),
23462346
clientSecret: text('client_secret'),
2347-
redirectURLs: text('redirect_u_r_ls').notNull(),
2347+
redirectURLs: text('redirect_urls').notNull(),
23482348
type: text('type').notNull(),
23492349
disabled: boolean('disabled').default(false),
23502350
userId: text('user_id').references(() => user.id, { onDelete: 'cascade' }),

0 commit comments

Comments
 (0)