GoScrobble/migrations/11_genres.up.sql

6 lines
144 B
MySQL
Raw Normal View History

2021-12-25 09:24:47 +00:00
CREATE TABLE IF NOT EXISTS genres (
uuid uuid PRIMARY KEY,
name VARCHAR(255) NOT NULL
);
CREATE INDEX genresNameLookup ON genres (name)