Skip to content

Commit

Permalink
Update Schema Type
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Jan 19, 2024
1 parent 728e6a7 commit 1534ea8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v15.6.0

- Time type objects are now always strings, not unix epochs

### v15.5.0

- Perform migration before schema dump
Expand Down
3 changes: 2 additions & 1 deletion lib/pgtypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export default class PGTypes extends Map {
'timestamp'
],
schema: {
type: 'integer'
type: 'string',
format: 'date'
}
}, {
pgtypes: [
Expand Down

0 comments on commit 1534ea8

Please sign in to comment.