Skip to content

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

@tripleee

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.

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