mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
added missing column in tblWorkflowDocumentContent
This commit is contained in:
parent
5572ad52c7
commit
c67213e26b
|
@ -665,6 +665,7 @@ CREATE TABLE tblWorkflowDocumentContent (
|
||||||
`document` int(11) DEFAULT NULL,
|
`document` int(11) DEFAULT NULL,
|
||||||
`version` smallint(5) DEFAULT NULL,
|
`version` smallint(5) DEFAULT NULL,
|
||||||
`state` int(11) DEFAULT NULL,
|
`state` int(11) DEFAULT NULL,
|
||||||
|
`date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||||
CONSTRAINT `tblWorkflowDocument_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE,
|
CONSTRAINT `tblWorkflowDocument_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE,
|
||||||
CONSTRAINT `tblWorkflowDocument_workflow` FOREIGN KEY (`workflow`) REFERENCES `tblWorkflows` (`id`) ON DELETE CASCADE,
|
CONSTRAINT `tblWorkflowDocument_workflow` FOREIGN KEY (`workflow`) REFERENCES `tblWorkflows` (`id`) ON DELETE CASCADE,
|
||||||
CONSTRAINT `tblWorkflowDocument_state` FOREIGN KEY (`state`) REFERENCES `tblWorkflowStates` (`id`) ON DELETE CASCADE
|
CONSTRAINT `tblWorkflowDocument_state` FOREIGN KEY (`state`) REFERENCES `tblWorkflowStates` (`id`) ON DELETE CASCADE
|
||||||
|
|
|
@ -576,7 +576,8 @@ CREATE TABLE tblWorkflowDocumentContent (
|
||||||
`workflow` INTEGER DEFAULT NULL REFERENCES `tblWorkflows` (`id`) ON DELETE CASCADE,
|
`workflow` INTEGER DEFAULT NULL REFERENCES `tblWorkflows` (`id`) ON DELETE CASCADE,
|
||||||
`document` INTEGER DEFAULT NULL REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE,
|
`document` INTEGER DEFAULT NULL REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE,
|
||||||
`version` smallint DEFAULT NULL,
|
`version` smallint DEFAULT NULL,
|
||||||
`state` INTEGER DEFAULT NULL REFERENCES `tblWorkflowStates` (`id`) ON DELETE CASCADE
|
`state` INTEGER DEFAULT NULL REFERENCES `tblWorkflowStates` (`id`) ON DELETE CASCADE,
|
||||||
|
`date` datetime NOT NULL default '0000-00-00 00:00:00'
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
|
@ -90,6 +90,7 @@ CREATE TABLE tblWorkflowDocumentContent (
|
||||||
`document` int(11) DEFAULT NULL,
|
`document` int(11) DEFAULT NULL,
|
||||||
`version` smallint(5) DEFAULT NULL,
|
`version` smallint(5) DEFAULT NULL,
|
||||||
`state` int(11) DEFAULT NULL,
|
`state` int(11) DEFAULT NULL,
|
||||||
|
`date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||||
CONSTRAINT `tblWorkflowDocument_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE,
|
CONSTRAINT `tblWorkflowDocument_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`) ON DELETE CASCADE,
|
||||||
CONSTRAINT `tblWorkflowDocument_workflow` FOREIGN KEY (`workflow`) REFERENCES `tblWorkflows` (`id`) ON DELETE CASCADE,
|
CONSTRAINT `tblWorkflowDocument_workflow` FOREIGN KEY (`workflow`) REFERENCES `tblWorkflows` (`id`) ON DELETE CASCADE,
|
||||||
CONSTRAINT `tblWorkflowDocument_state` FOREIGN KEY (`state`) REFERENCES `tblWorkflowStates` (`id`) ON DELETE CASCADE
|
CONSTRAINT `tblWorkflowDocument_state` FOREIGN KEY (`state`) REFERENCES `tblWorkflowStates` (`id`) ON DELETE CASCADE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user