mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-03 18:59:46 -04:00
SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns.
This commit is contained in:
parent
b4a1f2ccb5
commit
709a92cee8
4 changed files with 23 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
CREATE TABLE IF NOT EXISTS events(
|
||||
token_ordering INTEGER AUTOINCREMENT,
|
||||
token_ordering INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
topological_ordering INTEGER NOT NULL,
|
||||
event_id TEXT NOT NULL,
|
||||
type TEXT NOT NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue