mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-24 08:05:02 +01:00
Introduce cdk-sql-common
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from #878
This commit is contained in:
@@ -70,7 +70,7 @@ CREATE TABLE IF NOT EXISTS "proof" (
|
||||
amount INTEGER NOT NULL,
|
||||
keyset_id TEXT NOT NULL, -- no FK constraint here
|
||||
secret TEXT NOT NULL,
|
||||
c BLOB NOT NULL,
|
||||
c BLOBNOT NULL,
|
||||
witness TEXT,
|
||||
state TEXT CHECK (state IN ('SPENT', 'PENDING', 'UNSPENT', 'RESERVED', 'UNKNOWN')) NOT NULL,
|
||||
quote_id TEXT,
|
||||
|
||||
Reference in New Issue
Block a user