CREATE TABLE `llmProviders` (
	`id` int AUTO_INCREMENT NOT NULL,
	`name` varchar(128) NOT NULL,
	`baseUrl` varchar(512) NOT NULL,
	`apiKeyEncrypted` text,
	`apiKeyHint` varchar(16),
	`isActive` boolean NOT NULL DEFAULT false,
	`isDefault` boolean NOT NULL DEFAULT false,
	`modelDefault` varchar(128),
	`notes` text,
	`createdAt` timestamp NOT NULL DEFAULT (now()),
	`updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
	CONSTRAINT `llmProviders_id` PRIMARY KEY(`id`)
);
