Skip to content

Commit

Permalink
Changed derby and mysql schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Oct 29, 2015
1 parent 9dc5677 commit 8d71fc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions deploy/deploy-core/scripts/sql/createfullhddb.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ insert into schemaversions ( tablename, version )
insert into schemaversions ( tablename, version )
values ( 'schedules', 1);
insert into schemaversions ( tablename, version )
values ( 'ordertemplates', 1);
values ( 'ordertemplates', 2);
insert into schemaversions ( tablename, version )
values ( 'jobs', 9);
insert into schemaversions ( tablename, version )
Expand Down Expand Up @@ -262,7 +262,8 @@ create table schedules (
create table ordertemplates (
template_id bigint not null AUTO_INCREMENT primary key,
name varchar(250) not null UNIQUE,
orderxml longtext not null
orderxml longtext not null,
isActive int not null default 1
);

create table global_crawler_trap_lists(
Expand Down
5 changes: 3 additions & 2 deletions deploy/deploy-core/scripts/sql/createfullhddb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ insert into schemaversions ( tablename, version )
insert into schemaversions ( tablename, version )
values ( 'schedules', 1);
insert into schemaversions ( tablename, version )
values ( 'ordertemplates', 1);
values ( 'ordertemplates', 2);
insert into schemaversions ( tablename, version )
values ( 'jobs', 9);
insert into schemaversions ( tablename, version )
Expand Down Expand Up @@ -394,7 +394,8 @@ create table ordertemplates (
template_id bigint not null generated always as identity primary key,
-- Unique id for the template
name varchar(300) not null unique, -- Name of the template
orderxml clob(64M) not null -- The Heritrix order.xml string
orderxml clob(64M) not null, -- The Heritrix order.xml string
isActive BOOLEAN NOT NULL DEFAULT TRUE
);

--***************************************************************************--
Expand Down

0 comments on commit 8d71fc0

Please sign in to comment.