Sensors table should use auto-increment
This commit is contained in:
parent
fd170185e0
commit
7846a09668
|
|
@ -1,5 +1,5 @@
|
|||
CREATE TABLE IF NOT EXISTS sensors (
|
||||
id INTEGER PRIMARY KEY,
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT NOT NULL,
|
||||
auth_key TEXT NOT NULL,
|
||||
/* Temporary column used for migration */
|
||||
|
|
|
|||
Loading…
Reference in New Issue