Fix some small defects in the SQL layout.

This commit is contained in:
JoelKatz
2011-12-04 19:32:40 -08:00
parent c891df0ef8
commit b1d66a1a0f

View File

@@ -11,13 +11,14 @@ CREATE TABLE Transactions ( -- transactions in all states
Fee BIGINT UNSIGNED, Fee BIGINT UNSIGNED,
FirstSeen TEXT, -- time first seen FirstSeen TEXT, -- time first seen
CommitSeq BIGINT UNSIGNED, -- ledger commited to, 0 if none CommitSeq BIGINT UNSIGNED, -- ledger commited to, 0 if none
Status CHARACTER(1) -- (N)ew, (A)ctive, (C)onflicted, (D)one, (H)eld Status CHARACTER(1), -- (N)ew, (A)ctive, (C)onflicted, (D)one, (H)eld
Signature BLOB
); );
CREATE TABLE PubKeys ( -- holds pub keys for nodes and accounts CREATE TABLE PubKeys ( -- holds pub keys for nodes and accounts
ID CHARACTER(40) PRIMARY KEY, ID CHARACTER(40) PRIMARY KEY,
PubKey CHARCTER(66) NOT NULL PubKey BLOB
); );