Skip to content

__updated_ms on new inserted rows should be same as __added_ms #12

@simonw

Description

@simonw

INSERT OR IGNORE INTO "{chronicle_table}" (
{', '.join(f'"{col}"' for col in primary_key_names)},
__added_ms, __updated_ms, __version, __deleted
)
VALUES (
{', '.join(f'NEW."{col}"' for col in primary_key_names)},
{current_timestamp_expr}, 0, {next_version_expr}, 0
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions