CREATE TABLE `ca_certificates` ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `name` text NOT NULL, `certificate_pem` text NOT NULL, `created_by` integer REFERENCES `users`(`id`) ON DELETE SET NULL, `created_at` text NOT NULL, `updated_at` text NOT NULL );