Skip to content

Commit

Permalink
Merge pull request #136 from 68kHeart/patch-1
Browse files Browse the repository at this point in the history
Fix column casing in MySQL Introspector
  • Loading branch information
koskimas authored Aug 9, 2022
2 parents 99ef8a2 + 48d307c commit a34af5f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/dialect/mysql/mysql-introspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ export class MysqlIntrospector implements DatabaseIntrospector {
let query = this.#db
.selectFrom('information_schema.columns')
.select([
'column_name',
'column_default',
'table_name',
'table_schema',
'is_nullable',
'data_type',
'extra',
'COLUMN_NAME',
'COLUMN_DEFAULT',
'TABLE_NAME',
'TABLE_SCHEMA',
'IS_NULLABLE',
'DATA_TYPE',
'EXTRA',
])
.where('table_schema', '=', sql`database()`)
.orderBy('table_name')
Expand Down

0 comments on commit a34af5f

Please sign in to comment.