mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
19 lines
480 B
SQL
19 lines
480 B
SQL
CREATE TABLE IF NOT EXISTS keys(
|
|
key_id INTEGER PRIMARY KEY NOT NULL,
|
|
key_public BLOB NOT NULL,
|
|
key_private BLOB NOT NULL
|
|
);
|
|
PRAGMA foreign_keys=on;
|
|
CREATE TABLE IF NOT EXISTS coins(
|
|
coin_id INTEGER PRIMARY KEY NOT NULL,
|
|
coin BLOB NOT NULL,
|
|
serial BLOB NOT NULL,
|
|
coin_blind BLOB NOT NULL,
|
|
valcom_blind BLOB NOT NULL,
|
|
value INT NOT NULL,
|
|
token_id INT NOT NULL,
|
|
witness BLOB NOT NULL,
|
|
secret BLOB NOT NULL,
|
|
is_spent BLOB NOT NULL
|
|
);
|