CREATE TABLE `template_sources` ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `source_id` text NOT NULL, `name` text NOT NULL, `url` text NOT NULL, `enabled` integer DEFAULT true, `builtin` integer DEFAULT false, `sort_order` integer DEFAULT 0, `created_at` text DEFAULT CURRENT_TIMESTAMP, `updated_at` text DEFAULT CURRENT_TIMESTAMP ); --> statement-breakpoint CREATE UNIQUE INDEX `template_sources_source_id_unique` ON `template_sources` (`source_id`);