Skip to content

Commit

Permalink
Fixed ld_patch table creation script
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Dec 9, 2024
1 parent f1c0393 commit 262f31b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion logicaldoc-core/src/main/resources/sql/logicaldoc-core.sql
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ create table ld_extoption (ld_id bigint not null, ld_lastmodified timestamp not
create table ld_temp (ld_int bigint, ld_int1 bigint, ld_date timestamp, ld_string varchar(4000));
create table ld_uniquetag(ld_tag varchar(255), ld_tenantid bigint, ld_count bigint, primary key (ld_tag, ld_tenantid));
create table ld_update (ld_update varchar(255), ld_date timestamp, ld_version varchar(255));
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255));
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255), ld_name varchar(255), ld_rating int not null, ld_size bigint not null, ld_description varchar(4000));
create table ld_session(ld_id bigint not null, ld_lastmodified timestamp not null, ld_recordversion bigint not null,
ld_deleted int not null, ld_tenantid bigint not null, ld_sid varchar(255) not null,
ld_username varchar(255), ld_key varchar(255), ld_node varchar(255), ld_tenantname varchar(255),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ create table ld_extoption (ld_id bigint not null, ld_lastmodified datetime not n
create table ld_temp (ld_int bigint, ld_int1 bigint, ld_date datetime, ld_string varchar(4000)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_uniquetag(ld_tag varchar(255),ld_int1 bigint, ld_tenantid bigint, ld_count bigint, primary key (ld_tag, ld_tenantid)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_update (ld_update varchar(255), ld_date datetime, ld_version varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_patch (ld_patch varchar(255), ld_date datetime, ld_version varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255), ld_name varchar(255), ld_rating int not null, ld_size bigint not null, ld_description varchar(4000)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_session(ld_id bigint not null, ld_lastmodified datetime not null, ld_recordversion bigint not null,
ld_deleted int not null, ld_tenantid bigint not null, ld_sid varchar(255) not null,
ld_username varchar(255), ld_key varchar(255), ld_node varchar(255), ld_tenantname varchar(255),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ create table ld_extoption (ld_id bigint not null, ld_lastmodified datetime not n
create table ld_temp (ld_int bigint, ld_int1 bigint, ld_date datetime, ld_string nvarchar(4000));
create table ld_uniquetag(ld_tag nvarchar(255), ld_tenantid bigint, ld_count bigint, primary key (ld_tag, ld_tenantid));
create table ld_update (ld_update nvarchar(255), ld_date datetime, ld_version nvarchar(255));
create table ld_patch (ld_patch nvarchar(255), ld_date datetime, ld_version nvarchar(255));
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255), ld_name varchar(255), ld_rating int not null, ld_size bigint not null, ld_description nvarchar(4000));
create table ld_session(ld_id bigint not null, ld_lastmodified datetime not null, ld_recordversion bigint not null,
ld_deleted int not null, ld_tenantid bigint not null, ld_sid nvarchar(255) not null,
ld_username nvarchar(255), ld_key nvarchar(255), ld_node nvarchar(255), ld_tenantname nvarchar(255),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ create table ld_extoption (ld_id bigint not null, ld_lastmodified datetime not n
create table ld_temp (ld_int bigint, ld_int1 bigint, ld_date datetime, ld_string varchar(4000)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_uniquetag(ld_tag varchar(255),ld_int1 bigint, ld_tenantid bigint, ld_count bigint, primary key (ld_tag, ld_tenantid)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_update (ld_update varchar(255), ld_date datetime, ld_version varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_patch (ld_patch varchar(255), ld_date datetime, ld_version varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255), ld_name varchar(255), ld_rating int not null, ld_size bigint not null, ld_description varchar(4000)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin;
create table ld_session(ld_id bigint not null, ld_lastmodified datetime not null, ld_recordversion bigint not null,
ld_deleted int not null, ld_tenantid bigint not null, ld_sid varchar(255) not null,
ld_username varchar(255), ld_key varchar(255), ld_node varchar(255), ld_tenantname varchar(255),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ create table ld_extoption (ld_id number(19,0) not null, ld_lastmodified timestam
create table ld_temp (ld_int number(19,0), ld_int1 number(19,0), ld_date timestamp, ld_string varchar(4000));
create table ld_uniquetag(ld_tag varchar(255), ld_tenantid number(19,0), ld_count number(19,0), primary key (ld_tag, ld_tenantid));
create table ld_update (ld_update varchar(255), ld_date timestamp, ld_version varchar(255));
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255));
create table ld_patch (ld_patch varchar(255), ld_date timestamp, ld_version varchar(255), ld_name varchar(255), ld_rating int not null, ld_size number(19,0) not null, ld_description varchar(4000));
create table ld_session(ld_id number(19,0) not null, ld_lastmodified timestamp not null, ld_recordversion number(19,0) not null,
ld_deleted int not null, ld_tenantid number(19,0) not null, ld_sid varchar(255) not null,
ld_username varchar(255), ld_key varchar(255), ld_node varchar(255), ld_tenantname varchar(255),
Expand Down
17 changes: 11 additions & 6 deletions logicaldoc-webapp/src/main/resources/context.properties
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ schedule.cron.IndexerTask=00 30 * * * ?
schedule.cron.LDAPSynchroniser=00 10 01 * * ?
schedule.cron.ImportFolderCrawler=00 00 0/5 * * ?
schedule.cron.TagsProcessor=00 30 * * * ?
schedule.cron.Audit=00 00 0/5 * * ?
schedule.cron.AuditTask=00 00 0/5 * * ?
schedule.cron.Notifier=00 00 0/5 * * ?
schedule.cron.BarcodeProcessor=00 00 0/5 * * ?
schedule.cron.ProductNews=00 00 0/5 * * ?
Expand All @@ -238,7 +238,7 @@ schedule.delay.IndexerTask=1800000
schedule.delay.LDAPSynchroniser=1800000
schedule.delay.ImportFolderCrawler=1800000
schedule.delay.TagsProcessor=1800000
schedule.delay.Audit=1800000
schedule.delay.AuditTask=1800000
schedule.delay.Notifier=1800000
schedule.delay.BarcodeProcessor=900000
schedule.delay.ProductNews=43200000
Expand All @@ -263,7 +263,7 @@ schedule.enabled.IndexerTask=true
schedule.enabled.LDAPSynchroniser=false
schedule.enabled.ImportFolderCrawler=true
schedule.enabled.TagsProcessor=true
schedule.enabled.Audit=true
schedule.enabled.AuditTask=true
schedule.enabled.Notifier=true
schedule.enabled.BarcodeProcessor=false
schedule.enabled.ProductNews=true
Expand All @@ -288,7 +288,7 @@ schedule.interval.IndexerTask=1800000
schedule.interval.LDAPSynchroniser=1800000
schedule.interval.ImportFolderCrawler=1800000
schedule.interval.TagsProcessor=1800000
schedule.interval.Audit=1800000
schedule.interval.AuditTask=1800000
schedule.interval.Notifier=1800000
schedule.interval.BarcodeProcessor=900000
schedule.interval.ProductNews=43200000
Expand All @@ -313,7 +313,7 @@ schedule.length.IndexerTask=3600
schedule.length.LDAPSynchroniser=3600
schedule.length.ImportFolderCrawler=3600
schedule.length.TagsProcessor=-1
schedule.length.Audit=3600
schedule.length.AuditTask=3600
schedule.length.Notifier=3600
schedule.length.BarcodeProcessor=900
schedule.length.ProductNews=900
Expand All @@ -338,7 +338,7 @@ schedule.mode.IndexerTask=simple
schedule.mode.LDAPSynchroniser=simple
schedule.mode.ImportFolderCrawler=simple
schedule.mode.TagsProcessor=simple
schedule.mode.Audit=simple
schedule.mode.AuditTask=simple
schedule.mode.Notifier=simple
schedule.mode.BarcodeProcessor=simple
schedule.mode.ProductNews=simple
Expand Down Expand Up @@ -378,6 +378,11 @@ converter.LibreOfficeConverter.tasks=200
converter.LibreOfficeConverter.taskTimeout=120
converter.LibreOfficeConverter.enabled=true

converter.OnlyOfficeConverter.enabled=false
converter.OnlyOfficeConverter.callback=
converter.OnlyOfficeConverter.security.key=my_jwt_secret
converter.OnlyOfficeConverter.url=

converter.IllustratorConverter.enabled=true
converter.NotAvailableConverter.enabled=true
converter.ZipConverter.enabled=true
Expand Down

0 comments on commit 262f31b

Please sign in to comment.