Skip to content

Commit

Permalink
Fix missing userId type in @lucia-auth/adapter-drizzle (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
dungsil authored Mar 14, 2024
1 parent bc25c1c commit c12bd7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/adapter-drizzle/src/drivers/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export type MySQLUserTable = MySqlTableWithColumns<{
tableName: any;
dataType: any;
columnType: any;
data: string;
data: UserId;
driverParam: any;
notNull: true;
hasDefault: boolean; // must be boolean instead of any to allow default values
Expand Down Expand Up @@ -140,7 +140,7 @@ export type MySQLSessionTable = MySqlTableWithColumns<{
enumValues: any;
tableName: any;
columnType: any;
data: string;
data: UserId;
driverParam: any;
hasDefault: false;
name: any;
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-drizzle/src/drivers/postgresql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export type PostgreSQLUserTable = PgTableWithColumns<{
tableName: any;
dataType: any;
columnType: any;
data: string;
data: UserId;
driverParam: any;
notNull: true;
hasDefault: boolean; // must be boolean instead of any to allow default values
Expand Down Expand Up @@ -140,7 +140,7 @@ export type PostgreSQLSessionTable = PgTableWithColumns<{
enumValues: any;
tableName: any;
columnType: any;
data: string;
data: UserId;
driverParam: any;
hasDefault: false;
name: any;
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-drizzle/src/drivers/sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export type SQLiteUserTable = SQLiteTableWithColumns<{
tableName: any;
dataType: any;
columnType: any;
data: string;
data: UserId;
driverParam: any;
notNull: true;
hasDefault: boolean; // must be boolean instead of any to allow default values
Expand Down Expand Up @@ -152,7 +152,7 @@ export type SQLiteSessionTable = SQLiteTableWithColumns<{
enumValues: any;
tableName: any;
columnType: any;
data: string;
data: UserId;
driverParam: any;
hasDefault: false;
name: any;
Expand Down

0 comments on commit c12bd7d

Please sign in to comment.