aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/history.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/history.rs b/src/history.rs
index 2e06133..865d949 100644
--- a/src/history.rs
+++ b/src/history.rs
@@ -49,6 +49,7 @@ pub fn setup() {
db.execute(
"
CREATE TABLE IF NOT EXISTS history (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
ts INTEGER NOT NULL,
loc BLOB NOT NULL,
cmd BLOB NOT NULL