From 661b80bcb4f78700c3a7e64bc4a4c0e6f5a3d8f2 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 3 Dec 2024 00:15:11 +0100 Subject: [PATCH] fix: BIG INTEGER -> BIGINT --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 098cc8f..3265f7a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -195,8 +195,8 @@ impl Database { "CREATE TABLE IF NOT EXISTS events ( id INTEGER PRIMARY KEY AUTOINCREMENT, service INTEGER NOT NULL, - time BIG INTEGER NOT NULL, - value BIG INTEGER NULL + time BIGINT NOT NULL, + value BIGINT NULL )", params![] )?;