From d19cd4c16517480e8f1e7628eaf1720afc159b98 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Fri, 25 Jul 2025 17:24:44 -0400 Subject: [PATCH] Adding test migrations --- test_migrations/init_song_queue_processed.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test_migrations/init_song_queue_processed.sql diff --git a/test_migrations/init_song_queue_processed.sql b/test_migrations/init_song_queue_processed.sql new file mode 100644 index 0000000..a8953a3 --- /dev/null +++ b/test_migrations/init_song_queue_processed.sql @@ -0,0 +1,4 @@ +-- Might not to disable constraints on fields +INSERT INTO "song" (id, title, artist, album_artist, album, genre, year, track, disc, track_count, disc_count, duration, audio_type, date_created, filename, directory, user_id) VALUES('44cf7940-34ff-489f-9124-d0ec90a55af9', 'Hypocrite Like The Rest', 'Kuoth', 'Kuoth', 'I', 'Alternative Hip-Hop', 2020, 1, 1, 9, 1, 139, 'flac', '2020-01-01 13:00:00-05', 'track01.flac', 'tests/I', '47491f9b-725a-4ba4-b9a5-711e1be46670'); +INSERT INTO "coverart" VALUES('', 'I', 'tests/I/Coverart.jpg', '44cf7940-34ff-489f-9124-d0ec90a55af9'); +-- Re-enable the constraints on the fields