From 921f8d412e240baed6d94767fc3c0567befeb6a8 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 16 Nov 2024 09:47:25 +0200 Subject: [PATCH] update field set --- src/profile/identity/database.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/profile/identity/database.rs b/src/profile/identity/database.rs index 8fb98a7a..fccf8fb0 100644 --- a/src/profile/identity/database.rs +++ b/src/profile/identity/database.rs @@ -11,12 +11,11 @@ pub fn init(tx: &Transaction) -> Result { tx.execute( "CREATE TABLE IF NOT EXISTS `profile_identity` ( - `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - `profile_id` INTEGER NOT NULL, - `time` INTEGER NOT NULL, - `name` VARCHAR(255), - `certificate` TEXT NOT NULL, - `key` TEXT NOT NULL + `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + `profile_id` INTEGER NOT NULL, + `time` INTEGER NOT NULL, + `name` VARCHAR(255), + `pem` TEXT NOT NULL )", [], )