mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
Add initial database migration files including schema definition for ocr_provider table and related metadata files. This sets up the foundation for OCR provider management in the system.
10 lines
262 B
SQL
10 lines
262 B
SQL
CREATE TABLE `ocr_provider` (
|
|
`id` text PRIMARY KEY NOT NULL,
|
|
`name` text NOT NULL,
|
|
`capabilities` text NOT NULL,
|
|
`config` text NOT NULL,
|
|
`created_at` integer,
|
|
`updated_at` integer
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE INDEX `name` ON `ocr_provider` (`name`); |