summaryrefslogtreecommitdiff
path: root/model/sql/migrate.sql
blob: c548724160c36ad2d29be21e78c4ab8506529928 (plain)
1
2
3
4
5
6
7
8
9
CREATE TABLE recipes (
	id           INTEGER PRIMARY KEY,
	title        TEXT    NOT NULL,
	portions     INTEGER NOT NULL,
	url          TEXT    NOT NULL,
	notes        TEXT    NOT NULL,
	created      INTEGER NOT NULL, -- unix timestamp
	last_changed INTEGER NOT NULL  -- unix timestamp
);