 	packagePath TEXT,
 	deltaName TEXT,
 	CONSTRAINT FK_compileLog_log FOREIGN KEY (id)
-		REFERENCES Session (id)
+		REFERENCES LogSession (id)
 );
 
 CREATE TABLE CompileLogEntry

		REFERENCES Tag(id)
);

CREATE TABLE UserSection
(
	userId INTEGER NOT NULL,
	sectionId INTEGER NOT NULL,
	CONSTRAINT FK_us_section FOREIGN KEY (sectionId)
		REFERENCES Class (id),
	CONSTRAINT FK_us_user FOREIGN KEY (userId)
		REFERENCES User (id)
);

CREATE TABLE LogSessionTag
(
	logSessionId INTEGER NOT NULL,
	tagId INTEGER NOT NULL,
	CONSTRAINT FK_st_tag FOREIGN KEY (tagId)
		REFERENCES Tag (id),
	CONSTRAINT FK_st_logSession FOREIGN KEY (logSessionId)
		REFERENCES LogSession (id)
);

CREATE TABLE User
(
	id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,

	name TEXT,
	computer VARCHAR(128),
	roleId INTEGER NOT NULL
);

CREATE TABLE LogSession
(
	id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
	sectionId INTEGER,
	source TEXT,
	path TEXT,
	start INTEGER,
	end INTEGER,
	remarks TEXT
);

CREATE TABLE CompileLog
