Initial commit
This commit is contained in:
17
src/main/resources/db/migration/V1_20__insert_enums.sql
Normal file
17
src/main/resources/db/migration/V1_20__insert_enums.sql
Normal file
@ -0,0 +1,17 @@
|
||||
INSERT INTO "source_provider" ("id", "name")
|
||||
OVERRIDING SYSTEM VALUE
|
||||
VALUES
|
||||
(1, 'YOUTUBE'),
|
||||
(2, 'LOCAL'),
|
||||
(3, 'EXTERNAL')
|
||||
ON CONFLICT ("id") DO NOTHING;
|
||||
|
||||
INSERT INTO "source_type" ("id", "provider_id", "name")
|
||||
OVERRIDING SYSTEM VALUE
|
||||
VALUES
|
||||
(1, 1, 'VIDEO'),
|
||||
(2, 1, 'PLAYLIST'),
|
||||
(3, 2, 'FILE'),
|
||||
(4, 3, 'URL')
|
||||
ON CONFLICT ("id") DO NOTHING;
|
||||
|
||||
Reference in New Issue
Block a user