change column type to varchar(1024)

This commit is contained in:
yggverse 2024-11-16 15:43:13 +02:00
parent 7370815f9d
commit d9a6c88c1c

View File

@ -45,7 +45,7 @@ pub fn init(tx: &Transaction) -> Result<usize, Error> {
`profile_id` INTEGER NOT NULL, `profile_id` INTEGER NOT NULL,
`profile_identity_gemini_id` INTEGER NOT NULL, `profile_identity_gemini_id` INTEGER NOT NULL,
`is_active` 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_id`) REFERENCES `profile`(`id`),
FOREIGN KEY (`profile_identity_gemini_id`) REFERENCES `profile_identity_gemini`(`id`), FOREIGN KEY (`profile_identity_gemini_id`) REFERENCES `profile_identity_gemini`(`id`),