mirror of
https://github.com/stashapp/stash.git
synced 2026-02-08 08:21:32 +01:00
9 lines
341 B
SQL
9 lines
341 B
SQL
CREATE TABLE `studio_custom_fields` (
|
|
`studio_id` integer NOT NULL,
|
|
`field` varchar(64) NOT NULL,
|
|
`value` BLOB NOT NULL,
|
|
PRIMARY KEY (`studio_id`, `field`),
|
|
foreign key(`studio_id`) references `studios`(`id`) on delete CASCADE
|
|
);
|
|
|
|
CREATE INDEX `index_studio_custom_fields_field_value` ON `studio_custom_fields` (`field`, `value`);
|