Skip to main content

CREATE_PACKAGES_TABLE

Constant CREATE_PACKAGES_TABLE 

Source
pub const CREATE_PACKAGES_TABLE: &str = "
CREATE TABLE IF NOT EXISTS packages (
    workflow_type TEXT NOT NULL,
    content_hash TEXT NOT NULL,
    archive BLOB NOT NULL,
    deployed_at TEXT NOT NULL,
    PRIMARY KEY (workflow_type, content_hash)
)";
Expand description

Runtime-deployed package archives keyed by (workflow_type, content_hash).