CREATE TABLE IF NOT EXISTS notes (
    id BIGINT NOT NULL PRIMARY KEY,
    created BIGINT NOT NULL,
    owner BIGINT NOT NULL,
    title TEXT NOT NULL,
    journal BIGINT NOT NULL,
    content TEXT NOT NULL,
    edited BIGINT NOT NULL,
    dir BIGINT NOT NULL,
    tags TEXT NOT NULL,
    is_global INT NOT NULL
)
