DROP TABLE IF EXISTS character_custom_spell_data;
CREATE TABLE character_custom_spell_data (
	charid   INTEGER NOT NULL,
	spell_id INTEGER NOT NULL,
	field    TEXT    NOT NULL,
	type     TEXT    NOT NULL,
	value    TEXT    NOT NULL,
	PRIMARY KEY (charid, spell_id, field)
);
