Skip to content

MySQL timestamp column should have SqlType specified #57

Open
@boh717

Description

@boh717

To avoid having a column with on update CURRENT_TIMESTAMP, add O.SqlType("timestamp not null default CURRENT_TIMESTAMP") to column definition.

"On update" could be desirable, but on token tables probably isn't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions