Skip to content

Commit

Permalink
Update mssql-introspector.ts (#848)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
tmrclark authored Jan 20, 2024
1 parent cd918dc commit e5d0a26
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/dialect/mssql/mssql-introspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export class MssqlIntrospector implements DatabaseIntrospector {
)
.innerJoin(
'sys.types as types',
'types.system_type_id',
'columns.system_type_id'
'types.user_type_id',
'columns.user_type_id'
)
.leftJoin(
'sys.schemas as type_schemas',
Expand Down Expand Up @@ -98,8 +98,8 @@ export class MssqlIntrospector implements DatabaseIntrospector {
)
.innerJoin(
'sys.types as types',
'types.system_type_id',
'columns.system_type_id'
'types.user_type_id',
'columns.user_type_id'
)
.leftJoin(
'sys.schemas as type_schemas',
Expand Down Expand Up @@ -219,6 +219,7 @@ interface MssqlSysTables {
// precision: number
// rule_object_id: number
// scale: number
user_type_id: number
system_type_id: number
}
'sys.extended_properties': {
Expand Down Expand Up @@ -297,7 +298,7 @@ interface MssqlSysTables {
// scale: number
schema_id: number
system_type_id: number
// user_type_id: number
user_type_id: number
}
'sys.views': {
// create_date: Date
Expand Down

1 comment on commit e5d0a26

@vercel
Copy link

@vercel vercel bot commented on e5d0a26 Jan 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kysely – ./

kysely.dev
kysely-kysely-team.vercel.app
kysely-git-master-kysely-team.vercel.app
www.kysely.dev

Please sign in to comment.