mirror of
https://codeberg.org/SeedDMS/paperless
synced 2024-11-26 07:22:08 +00:00
13 lines
382 B
SQL
13 lines
382 B
SQL
START TRANSACTION;
|
|
|
|
CREATE TABLE `tblPaperlessView` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`userID` int(11) NOT NULL DEFAULT '0',
|
|
`view` text DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `tblDocumentLinks_user` (`userID`),
|
|
CONSTRAINT `tblPaperlessView_user` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
COMMIT;
|