Files
self/sdk/backend-api/scripts/init_db.sql
2025-02-15 16:49:18 +05:30

23 lines
632 B
SQL

-- Create DSC key commitment events table
CREATE TABLE IF NOT EXISTS dsc_key_commitment_events (
index INTEGER PRIMARY KEY,
commitment TEXT NOT NULL,
blockNumber INTEGER NOT NULL
);
-- Create identity commitment events table
CREATE TABLE IF NOT EXISTS identity_commitment_events (
index INTEGER PRIMARY KEY,
commitment TEXT NOT NULL,
blockNumber INTEGER NOT NULL
);
-- Create DSC key commitment tree table
CREATE TABLE IF NOT EXISTS dsc_key_commitment_tree (
tree TEXT NOT NULL
);
-- Create identity commitment tree table
CREATE TABLE IF NOT EXISTS identity_commitment_tree (
tree TEXT NOT NULL
);