-- Drop the separate icon tables
DROP TABLE IF EXISTS ability_icons;
DROP TABLE IF EXISTS buff_icons;
DROP TABLE IF EXISTS trait_icons;
DROP TABLE IF EXISTS player_house_icons;
DROP TABLE IF EXISTS stat_icons;

-- Recreate the combined icons table
CREATE TABLE IF NOT EXISTS icons (
    category TEXT NOT NULL,
    name TEXT NOT NULL,
    icon BLOB NOT NULL,
    PRIMARY KEY (category, name)
);
