Skip to content

Runner.MySql5 .AsTime() Creates DATETIME Column instead of TIME #1136

Description

@rv-amadden

With the following input:

 Create.Table("MyTable")
   .WithColumn("MyTimeColumn").AsTime()

I would expect MyTimeColumn to be of type TIME. However, it creates a DATETIME column. After looking at the MySql5TypeMap (linking the MySql4TypeMap since that is where the value originates) I assumed this was by design, but after checking out the PostgresTypeMap I now think it may be an oversight.

Thanks for any clarification!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions