From d9a6c88c1ca2c742c1cad7be1c74a0a538a0316e Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 16 Nov 2024 15:43:13 +0200 Subject: [PATCH] change column type to varchar(1024) --- src/profile/identity/gemini/auth/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profile/identity/gemini/auth/database.rs b/src/profile/identity/gemini/auth/database.rs index 648a635d..8258a7ff 100644 --- a/src/profile/identity/gemini/auth/database.rs +++ b/src/profile/identity/gemini/auth/database.rs @@ -45,7 +45,7 @@ pub fn init(tx: &Transaction) -> Result { `profile_id` INTEGER NOT NULL, `profile_identity_gemini_id` INTEGER NOT NULL, `is_active` INTEGER NOT NULL, - `url` TEXT NOT NULL, + `url` VARCHAR(1024) NOT NULL, FOREIGN KEY (`profile_id`) REFERENCES `profile`(`id`), FOREIGN KEY (`profile_identity_gemini_id`) REFERENCES `profile_identity_gemini`(`id`),