-- Simple icons table (abilities, buffs, traits, player houses, stat icons)
CREATE TABLE IF NOT EXISTS icons (
    category TEXT NOT NULL,
    name TEXT NOT NULL,
    icon BLOB NOT NULL,
    PRIMARY KEY (category, name)
);

-- Achievement icons table (filtered, no _0 suffix)
CREATE TABLE IF NOT EXISTS achievement_icons (
    name TEXT PRIMARY KEY NOT NULL,
    icon BLOB NOT NULL
);

-- General icons table (multiple sizes)
CREATE TABLE IF NOT EXISTS general_icons (
    name TEXT PRIMARY KEY NOT NULL,
    original_width INTEGER NOT NULL,
    original_height INTEGER NOT NULL,
    icon_original BLOB,
    icon_256 BLOB,
    icon_64 BLOB,
    icon_32 BLOB
);
