DROP TABLE IF EXISTS character_custom_spell_dataindex;
CREATE TABLE character_custom_spell_dataindex (
	charid   INTEGER NOT NULL,
	spell_id INTEGER NOT NULL,
	idx      INTEGER NOT NULL,
	type     TEXT    NOT NULL,
	value1   TEXT,
	value2   TEXT,
	PRIMARY KEY (charid, spell_id, idx)
);
