Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (3 sloc) 192 Bytes

Database

CREATE TABLE status (id integer primary key, timestamp datetime, door_open integer);
CREATE TABLE messages (id integer primary key, timestamp datetime, message text);