DROP TABLE IF EXISTS character_house_history;
CREATE TABLE character_house_history (
	timestamp   INTEGER NOT NULL DEFAULT 0,
	house_id    INTEGER NOT NULL DEFAULT 0,
	instance_id INTEGER NOT NULL DEFAULT 0,
	name        TEXT    NOT NULL DEFAULT '',
	reason      TEXT    NOT NULL DEFAULT '',
	amount      INTEGER NOT NULL DEFAULT 0,
	status      INTEGER NOT NULL DEFAULT 0,
	pos_flag    INTEGER NOT NULL DEFAULT 0
);
