GoScrobble/migrations/11_genres.up.sql

6 lines
144 B
SQL

CREATE TABLE IF NOT EXISTS genres (
uuid uuid PRIMARY KEY,
name VARCHAR(255) NOT NULL
);
CREATE INDEX genresNameLookup ON genres (name)