mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Caption support (#2462)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
ALTER TABLE `scenes` ADD COLUMN `interactive_speed` int
|
||||
ALTER TABLE `scenes` ADD COLUMN `interactive_speed` int
|
||||
|
||||
8
pkg/database/migrations/31_scenes_captions.up.sql
Normal file
8
pkg/database/migrations/31_scenes_captions.up.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE `scene_captions` (
|
||||
`scene_id` integer,
|
||||
`language_code` varchar(255) NOT NULL,
|
||||
`filename` varchar(255) NOT NULL,
|
||||
`caption_type` varchar(255) NOT NULL,
|
||||
primary key (`scene_id`, `language_code`, `caption_type`),
|
||||
foreign key(`scene_id`) references `scenes`(`id`) on delete CASCADE
|
||||
);
|
||||
Reference in New Issue
Block a user