Skip to content

Instantly share code, notes, and snippets.

Created April 16, 2014 10:57
Show Gist options
  • Save anonymous/10852433 to your computer and use it in GitHub Desktop.
Save anonymous/10852433 to your computer and use it in GitHub Desktop.
git_deploy.sqlite
CREATE TABLE job (id integer primary key, time integer, user varchar(100), project varchar(100), revision varchar(64), comment varchar(200));
CREATE TABLE log (
id integer primary key,
time integer,
message text);
CREATE TABLE queue (
id integer primary key,
job_id integer references job(id) on delete set null,
log_id integer references log(id) on delete set null,
status integer default 0,
time_created integer default null,
time_deployed integer default null, command varchar(500));
CREATE TABLE status (id integer, detail varchar(20));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment