Skip to content

SQlite default CURRENT_TIMESTAMP won't work; is inserted literally #40

Description

@tripleee

Macaron inserts the literal string CURRENT_TIMESTAMP if I declare a table with a field like this;

create table example(
    id          integer  primary key,
    timestamp   datetime default CURRENT_TIMESTAMP
);

and create a new Example() with no explicit timestamp value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions