Skip to content

Error occurs when adding data with preset function values. #61

@ghost

Description

I have set my data table with the following code:
create_time TEXT DEFAULT (strftime('%Y-%m-%dT%H:%M:%SZ', 'now'))
This is to automatically fill in the date when manually adding data.

At least that's how it works on the data table operation page in Cloudflare D1. However, when I tried to do the same in the program of this repository, it automatically filled in the text of the default function strftime('%Y-%m-%dT%H:%M:%SZ', 'now') itself.
image

Typically, it should work like this: automatically filling in the date when adding.
image

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