DROP TABLE IF EXISTS character_pictures;
CREATE TABLE character_pictures (
	id       INTEGER PRIMARY KEY,
	char_id  INTEGER NOT NULL DEFAULT 0,
	pic_type INTEGER NOT NULL DEFAULT 0,
	picture  TEXT    NOT NULL,
	UNIQUE(char_id, pic_type)
);
