Skip to main content

CREATE_CURSOR_TABLE_SQLITE

Constant CREATE_CURSOR_TABLE_SQLITE 

Source
pub const CREATE_CURSOR_TABLE_SQLITE: &str = r#"
CREATE TABLE IF NOT EXISTS atrg_jetstream_cursors (
    consumer_id TEXT PRIMARY KEY,
    time_us INTEGER NOT NULL,
    updated_at INTEGER NOT NULL DEFAULT (unixepoch())
);
"#;
Expand description

SQL for creating the cursor table (SQLite).