CREATE TABLE `pubPrivKeys` ( `id` integer PRIMARY KEY NOT NULL, `userid` integer, `publicKey` text, `privateKey` text, FOREIGN KEY (`userid`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE no action );