Schema of the table ``` CREATE TABLE users( key TEXT UNIQUE PRIMARY KEY NOT NULL, -- Long Hex S

Schema of the table

CREATE TABLE users(
    key TEXT UNIQUE PRIMARY KEY NOT NULL, -- Long Hex String (182 chars)
    name TEXT NOT NULL,
    role TEXT NOT NULL DEFAULT 'none',
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
) WITHOUT ROWID


and the generated query when I modified a cell in the table

UPDATE "main"."users" SET "role" = 'none' WHERE "key" = '<ID>' RETURNING rowid, *
Was this page helpful?