Index: sitescripts/crawler/schema.sql |
=================================================================== |
--- a/sitescripts/crawler/schema.sql |
+++ b/sitescripts/crawler/schema.sql |
@@ -5,7 +5,7 @@ |
CREATE TABLE crawler_sites ( |
id INT NOT NULL AUTO_INCREMENT, |
PRIMARY KEY (id), |
- url VARCHAR(255) NOT NULL |
+ url VARCHAR(512) NOT NULL |
Wladimir Palant
2012/09/14 17:24:18
How about UNIQUE(url) constraint? This will make s
Felix Dahlke
2012/09/26 15:20:30
Done.
|
); |
CREATE TABLE crawler_runs ( |
@@ -21,6 +21,6 @@ |
FOREIGN KEY (run) REFERENCES crawler_runs (id), |
site INT NOT NULL, |
FOREIGN KEY (site) REFERENCES crawler_sites (id), |
- request_url VARCHAR(255) NOT NULL, |
- document_url VARCHAR(255) NOT NULL |
+ url VARCHAR(512) NOT NULL, |
+ filtered BOOLEAN NOT NULL |
); |