api/migrations/2023-12-31-104741_artists_tracks/up.sql
2024-01-01 03:18:33 +01:00

8 lines
245 B
SQL

-- Your SQL goes here
create table if not exists artists_tracks
(
artist_id varchar(24) references artists (id) on delete cascade,
track_id varchar(24) references tracks (id) on delete cascade,
primary key (artist_id, track_id)
);