Skip to content

Commit

Permalink
Support MySql 5.5.x for travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eputtone committed Jun 14, 2014
1 parent 3b48157 commit 6b199f3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ create table if not exists nflow_workflow (
next_activation timestamp null,
is_processing boolean not null default false,
retries int not null default 0,
created timestamp not null default current_timestamp,
created timestamp not null,
modified timestamp not null default current_timestamp on update current_timestamp,
owner varchar(64),
constraint nflow_workflow_uniq unique (type, external_id),
index nflow_workflow(next_activation)
);

drop trigger if exists nflow_workflow_insert;

create trigger nflow_workflow_insert before insert on `nflow_workflow`
for each row set new.created = now();

create table if not exists nflow_workflow_action (
id int not null auto_increment primary key,
workflow_id int not null,
Expand Down

0 comments on commit 6b199f3

Please sign in to comment.