forked from mozilla/zamboni
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add FileValidation to remember validation results (bug 618997)
- Loading branch information
Jeff Balogh
committed
Dec 14, 2010
1 parent
91c1c62
commit f4aec17
Showing
4 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE `file_validation` ( | ||
`id` int(11) unsigned AUTO_INCREMENT NOT NULL PRIMARY KEY, | ||
`created` datetime NOT NULL, | ||
`modified` datetime NOT NULL, | ||
`file_id` integer NOT NULL, | ||
`valid` bool NOT NULL, | ||
`errors` integer NOT NULL, | ||
`warnings` integer NOT NULL, | ||
`notices` integer NOT NULL, | ||
`validation` longtext NOT NULL | ||
); | ||
ALTER TABLE `file_validation` ADD CONSTRAINT FOREIGN KEY (`file_id`) REFERENCES `files` (`id`); |