DROP TABLE IF EXISTS dbeditor_log;
CREATE TABLE dbeditor_log (
	id           INTEGER PRIMARY KEY,
	char_id      INTEGER NOT NULL,
	char_name    TEXT,
	admin_status INTEGER NOT NULL,
	item_name    TEXT,
	table_name   TEXT,
	update_query TEXT,
	update_date  INTEGER NOT NULL,
	archived     INTEGER NOT NULL DEFAULT 0
);
