mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add sql statements for scheduler
This commit is contained in:
parent
8d0e7e2b42
commit
52f58727ca
|
@ -968,6 +968,26 @@ CREATE TABLE `tblArosAcos` (
|
|||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `tblSchedulerTask`
|
||||
--
|
||||
|
||||
CREATE TABLE `tblSchedulerTask` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(100) DEFAULT NULL,
|
||||
`description` text DEFAULT NULL,
|
||||
`disabled` smallint(1) NOT NULL DEFAULT '0',
|
||||
`extension` varchar(100) DEFAULT NULL,
|
||||
`task` varchar(100) DEFAULT NULL,
|
||||
`frequency` varchar(100) DEFAULT NULL,
|
||||
`params` text DEFAULT NULL,
|
||||
`nextrun` datetime DEFAULT NULL,
|
||||
`lastrun` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `tblVersion`
|
||||
--
|
||||
|
|
|
@ -783,6 +783,25 @@ CREATE TABLE "tblArosAcos" (
|
|||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for tblSchedulerTask
|
||||
--
|
||||
|
||||
CREATE TABLE "tblSchedulerTask" (
|
||||
"id" SERIAL UNIQUE,
|
||||
"name" varchar(100) DEFAULT NULL,
|
||||
"description" TEXT DEFAULT NULL,
|
||||
"disabled" INTEGER NOT NULL DEFAULT '0',
|
||||
"extension" varchar(100) DEFAULT NULL,
|
||||
"task" varchar(100) DEFAULT NULL,
|
||||
"frequency" varchar(100) DEFAULT NULL,
|
||||
"params" TEXT DEFAULT NULL,
|
||||
"nextrun" TIMESTAMP DEFAULT NULL,
|
||||
"lastrun" TIMESTAMP DEFAULT NULL
|
||||
) ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for version
|
||||
--
|
||||
|
|
|
@ -792,6 +792,25 @@ CREATE TABLE `tblArosAcos` (
|
|||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `tblSchedulerTask`
|
||||
--
|
||||
|
||||
CREATE TABLE `tblSchedulerTask` (
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
`name` varchar(100) DEFAULT NULL,
|
||||
`description` TEXT DEFAULT NULL,
|
||||
`disabled` INTEGER NOT NULL DEFAULT '0',
|
||||
`extension` varchar(100) DEFAULT NULL,
|
||||
`task` varchar(100) DEFAULT NULL,
|
||||
`frequency` varchar(100) DEFAULT NULL,
|
||||
`params` TEXT DEFAULT NULL,
|
||||
`nextrun` TEXT DEFAULT NULL,
|
||||
`lastrun` TEXT DEFAULT NULL
|
||||
) ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `tblVersion`
|
||||
--
|
||||
|
|
|
@ -138,6 +138,19 @@ CREATE TABLE "tblArosAcos" (
|
|||
CONSTRAINT "tblArosAcos_aros" FOREIGN KEY ("aro") REFERENCES "tblAros" ("id") ON DELETE CASCADE
|
||||
);
|
||||
|
||||
CREATE TABLE "tblSchedulerTask" (
|
||||
"id" SERIAL UNIQUE,
|
||||
"name" varchar(100) DEFAULT NULL,
|
||||
"description" TEXT DEFAULT NULL,
|
||||
"disabled" INTEGER NOT NULL DEFAULT '0',
|
||||
"extension" varchar(100) DEFAULT NULL,
|
||||
"task" varchar(100) DEFAULT NULL,
|
||||
"frequency" varchar(100) DEFAULT NULL,
|
||||
"params" TEXT DEFAULT NULL,
|
||||
"nextrun" TIMESTAMP DEFAULT NULL,
|
||||
"lastrun" TIMESTAMP DEFAULT NULL
|
||||
) ;
|
||||
|
||||
UPDATE "tblVersion" set "major"=6, "minor"=0, "subminor"=0;
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -154,6 +154,19 @@ CREATE INDEX `indDocumentApproveLogApproveID` ON `tblDocumentApproveLog` (`appro
|
|||
CREATE INDEX `indDocumentReviewersRequired` ON `tblDocumentReviewers` (`required`);
|
||||
CREATE INDEX `indDocumentReviewLogReviewID` ON `tblDocumentReviewLog` (`reviewID`);
|
||||
|
||||
CREATE TABLE `tblSchedulerTask` (
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
`name` varchar(100) DEFAULT NULL,
|
||||
`description` TEXT DEFAULT NULL,
|
||||
`disabled` INTEGER NOT NULL DEFAULT '0',
|
||||
`extension` varchar(100) DEFAULT NULL,
|
||||
`task` varchar(100) DEFAULT NULL,
|
||||
`frequency` varchar(100) DEFAULT NULL,
|
||||
`params` TEXT DEFAULT NULL,
|
||||
`nextrun` TEXT DEFAULT NULL,
|
||||
`lastrun` TEXT DEFAULT NULL
|
||||
) ;
|
||||
|
||||
UPDATE tblVersion set major=6, minor=0, subminor=0;
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -153,6 +153,20 @@ CREATE TABLE `tblArosAcos` (
|
|||
CONSTRAINT `tblArosAcos_aros` FOREIGN KEY (`aro`) REFERENCES `tblAros` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `tblSchedulerTask` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(100) DEFAULT NULL,
|
||||
`description` text DEFAULT NULL,
|
||||
`disabled` smallint(1) NOT NULL DEFAULT '0',
|
||||
`extension` varchar(100) DEFAULT NULL,
|
||||
`task` varchar(100) DEFAULT NULL,
|
||||
`frequency` varchar(100) DEFAULT NULL,
|
||||
`params` text DEFAULT NULL,
|
||||
`nextrun` datetime DEFAULT NULL,
|
||||
`lastrun` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
UPDATE tblVersion set major=6, minor=0, subminor=0;
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Reference in New Issue
Block a user