From b592074c706d5524f69348d54a39492438905033 Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Thu, 25 Apr 2024 11:17:29 -0400 Subject: [PATCH] view(schema): update comment --- crates/view/src/storage/schema.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/view/src/storage/schema.sql b/crates/view/src/storage/schema.sql index b294159e52..fc967e2e4e 100644 --- a/crates/view/src/storage/schema.sql +++ b/crates/view/src/storage/schema.sql @@ -129,12 +129,12 @@ CREATE TABLE positions ( trading_pair TEXT NOT NULL ); --- This table records the auction state, using the asset id --- as a primary key, so that we can have multiple rows with --- matching auction ids but differing states and associated --- note commitments. +-- This table records the user's own auction state, using the +-- auction id as a primary key. An extra-column is available +-- to cross-reference note commitments that is associated with +-- the entry. CREATE TABLE auctions ( auction_id BLOB PRIMARY KEY NOT NULL, auction_state BIGINT NOT NULL, note_commitment BLOB -); \ No newline at end of file +);