16 lines
339 B
MySQL
16 lines
339 B
MySQL
|
-- Your SQL goes here
|
||
|
create table if not exists artists
|
||
|
(
|
||
|
id varchar(24) default nanoid(24),
|
||
|
name varchar(255) NOT NULL,
|
||
|
|
||
|
created_at TIMESTAMP DEFAULT now() NOT NULL,
|
||
|
updated_at TIMESTAMP,
|
||
|
|
||
|
-- music services
|
||
|
spotify_id VARCHAR(21) UNIQUE,
|
||
|
tidal_id VARCHAR(10) UNIQUE,
|
||
|
|
||
|
primary key (id)
|
||
|
);
|