mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-03 04:55:46 +01:00
OTS Stamping support, first pass
This commit is contained in:
@@ -53,3 +53,13 @@ CREATE TABLE recipient (
|
||||
inserted_ts INTEGER DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
CREATE INDEX idx_recipient_address ON recipient (address);
|
||||
|
||||
CREATE TABLE stamp (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
hash TEXT UNIQUE,
|
||||
callbackUrl TEXT,
|
||||
requested INTEGER DEFAULT FALSE,
|
||||
upgraded INTEGER DEFAULT FALSE,
|
||||
calledback INTEGER DEFAULT FALSE,
|
||||
inserted_ts INTEGER DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user