Skip to content

Commit 9cf7b20

Browse files
Merge pull request #21 from Jamesllllllllll/codex/catalog-metadata-backfill
Add richer catalog metadata for sample songs
2 parents c66b02d + 480d379 commit 9cf7b20

12 files changed

+3697
-40
lines changed

data/sample-catalog-metadata.json

Lines changed: 680 additions & 0 deletions
Large diffs are not rendered by default.

data/sample-catalog.sql

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
-- Custom SQL migration file, put your code below! --
2+
ALTER TABLE `catalog_songs`
3+
ADD COLUMN `artist_id` integer;
4+
5+
ALTER TABLE `catalog_songs`
6+
ADD COLUMN `author_id` integer;
7+
8+
ALTER TABLE `catalog_songs`
9+
ADD COLUMN `grouped_project_id` integer;
10+
11+
ALTER TABLE `catalog_songs`
12+
ADD COLUMN `tags_json` text;
13+
14+
ALTER TABLE `catalog_songs`
15+
ADD COLUMN `genres_json` text;
16+
17+
ALTER TABLE `catalog_songs`
18+
ADD COLUMN `subgenres_json` text;
19+
20+
ALTER TABLE `catalog_songs`
21+
ADD COLUMN `lead_tuning_id` integer;
22+
23+
ALTER TABLE `catalog_songs`
24+
ADD COLUMN `rhythm_tuning_id` integer;
25+
26+
ALTER TABLE `catalog_songs`
27+
ADD COLUMN `bass_tuning_id` integer;
28+
29+
ALTER TABLE `catalog_songs`
30+
ADD COLUMN `alt_lead_tuning_id` integer;
31+
32+
ALTER TABLE `catalog_songs`
33+
ADD COLUMN `alt_rhythm_tuning_id` integer;
34+
35+
ALTER TABLE `catalog_songs`
36+
ADD COLUMN `alt_bass_tuning_id` integer;
37+
38+
ALTER TABLE `catalog_songs`
39+
ADD COLUMN `bonus_lead_tuning_id` integer;
40+
41+
ALTER TABLE `catalog_songs`
42+
ADD COLUMN `bonus_rhythm_tuning_id` integer;
43+
44+
ALTER TABLE `catalog_songs`
45+
ADD COLUMN `bonus_bass_tuning_id` integer;
46+
47+
CREATE INDEX `catalog_songs_artist_id_idx` ON `catalog_songs` (`artist_id`);
48+
CREATE INDEX `catalog_songs_author_id_idx` ON `catalog_songs` (`author_id`);

0 commit comments

Comments
 (0)