Skip to content

Commit

Permalink
docs: add comments in SQL for batch and note indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
polydez committed Apr 4, 2024
1 parent 042c16d commit a0184f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/src/db/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pub static MIGRATIONS: Lazy<Migrations> = Lazy::new(|| {
notes
(
block_num INTEGER NOT NULL,
batch_index INTEGER NOT NULL,
note_index INTEGER NOT NULL,
batch_index INTEGER NOT NULL, -- Index of batch in block, starting from 0
note_index INTEGER NOT NULL, -- Index of note in batch, starting from 0
note_hash BLOB NOT NULL,
sender INTEGER NOT NULL,
tag INTEGER NOT NULL,
Expand Down

0 comments on commit a0184f7

Please sign in to comment.