Skip to content

Commit

Permalink
Treat sqlite integerfirst as int
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Aug 6, 2021
1 parent de0ff62 commit 1867489
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/utils/get-local-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ const localTypeMap: Record<string, { type: Type; useTimezone?: boolean }> = {

// Oracle
number: { type: 'integer' },

// SQLite
integerfirst: { type: 'integer' },
};

export default function getLocalType(
Expand Down

0 comments on commit 1867489

Please sign in to comment.