essential_node_db_sql::create

Constant CONTRACT

source
pub const CONTRACT: &str = "CREATE TABLE IF NOT EXISTS contract (\n    id INTEGER PRIMARY KEY,\n    l2_block_number INTEGER NOT NULL,\n    salt BLOB NOT NULL,\n    content_hash BLOB NOT NULL UNIQUE\n);\n";
Expand description
CREATE TABLE IF NOT EXISTS contract (
    id INTEGER PRIMARY KEY,
    l2_block_number INTEGER NOT NULL,
    salt BLOB NOT NULL,
    content_hash BLOB NOT NULL UNIQUE
);