You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by gs...@apache.org on 2022/05/29 22:46:31 UTC
[steve] 01/03: add note that vid == _ROWID_
This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
commit 6aeee5458d9ce41238e2459b8028dee1fbd71ad0
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Sun May 29 17:28:16 2022 -0500
add note that vid == _ROWID_
---
v3/schema.sql | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/v3/schema.sql b/v3/schema.sql
index b386424..2284871 100644
--- a/v3/schema.sql
+++ b/v3/schema.sql
@@ -110,7 +110,8 @@ CREATE TABLE VOTES (
/* The key is auto-incrementing to provide a record of insert-order,
so that we have an ordering to find the "most recent" when
- re-voting on an issue. */
+ re-voting on an issue.
+ Note: an integer primary key is an alias for _ROWID_. */
vid INTEGER PRIMARY KEY AUTOINCREMENT,
/* A hashed token representing a single Participant. 32 bytes. */