mirror of
https://github.com/stashapp/stash.git
synced 2026-02-28 10:15:08 +01:00
9 lines
334 B
SQL
9 lines
334 B
SQL
CREATE TABLE `group_custom_fields` (
|
|
`group_id` integer NOT NULL,
|
|
`field` varchar(64) NOT NULL,
|
|
`value` BLOB NOT NULL,
|
|
PRIMARY KEY (`group_id`, `field`),
|
|
foreign key(`group_id`) references `groups`(`id`) on delete CASCADE
|
|
);
|
|
|
|
CREATE INDEX `index_group_custom_fields_field_value` ON `group_custom_fields` (`field`, `value`);
|