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 )", [], )