TEXT NOT NULL, description TEXT NOT NULL, startsAt TEXT AS Date NOT NULL, endsAt TEXT AS Date NOT NULL, serviceSession INTEGER NOT NULL DEFAULT 0, rsvp INTEGER NOT NULL DEFAULT 0, roomId INTEGER, FOREIGN KEY (roomId) REFERENCES room(id) ); insert: INSERT INTO session(id, title, description, startsAt, endsAt, serviceSession, roomId) VALUES (?,?,?,?,?,?,?) ; update: UPDATE session SET title = ?, description = ?, startsAt = ?, endsAt = ?, serviceSession = ?, roomId = ?, rsvp = ? WHERE id = ?; deleteById: DELETE FROM session WHERE id = ?; allSessions: SELECT * FROM session; sessionById: SELECT * FROM session WHERE id = ?;