-- Add migration script here
CREATE TABLE IF NOT EXISTS album (
    id BIGSERIAL NOT NULL PRIMARY KEY,
    name TEXT NOT NULL,
    artist TEXT,
    artist_id INTEGER,
    cover_art TEXT,
    song_count INTEGER,
    duration INTEGER,
    play_count INTEGER,
    created timestamptz DEFAULT current_timestamp,
    starred timestamptz DEFAULT current_timestamp,
    year INTEGER,
    genre TEXT
);