Skip to content

v2 / review and unify column type translation #138

@sio4

Description

@sio4

It seems like there are some reasonable open issues regarding the column type translation from Fizz's to database's.

some findings are:

  • First, there is no policy for supported database engine version which is very important
  • Also, the purpose of colType() could be slightly confusing
  • in many cases, timestamp is just treated as datetime
  • only PostgreSQL's datetime has a timezone (but timestamp it not)
  • time is treated as datetime which should not be
  • date is treated as numeric in SQLite3
  • float and decimal are treated as the same (decimal) in most dialects
  • and most importantly, have no document for them

Related open issues and PRs (at this moment):

Also, related issues/PRs on the other modules:

Old issues/PRs related to this:

Other issues about an ID field which is restricted to be int or UUID

Date type definitions:

Release/Support/Lifecycle policy for database engines:

Metadata

Metadata

Assignees

Labels

breaking changeThis feature / fix introduces breaking changesproposalA suggestion for a change, feature, enhancement, etcs: acceptedwas accepted or confirmed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions