From e0341a1fa0bb57dc2d2d02ec455b0cc20fe7feef Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Fri, 25 Jul 2025 17:34:48 -0400 Subject: [PATCH] Created migration with cli command Creating test_migrations/20250725213448_migration_name.sql --- ..._migration.sql => 20250725213322_song_queue_processed.sql} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename test_migrations/{20250725172913_song_queue_processed_migration.sql => 20250725213322_song_queue_processed.sql} (78%) diff --git a/test_migrations/20250725172913_song_queue_processed_migration.sql b/test_migrations/20250725213322_song_queue_processed.sql similarity index 78% rename from test_migrations/20250725172913_song_queue_processed_migration.sql rename to test_migrations/20250725213322_song_queue_processed.sql index a8953a3..e34d6bf 100644 --- a/test_migrations/20250725172913_song_queue_processed_migration.sql +++ b/test_migrations/20250725213322_song_queue_processed.sql @@ -1,4 +1,6 @@ +-- Add migration script here + -- 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'); +-- INSERT INTO "coverart" VALUES('', 'I', 'tests/I/Coverart.jpg', '44cf7940-34ff-489f-9124-d0ec90a55af9'); -- Re-enable the constraints on the fields