| Index: sitescripts/filterhits/schema.sql |
| diff --git a/sitescripts/filterhits/schema.sql b/sitescripts/filterhits/schema.sql |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f5a3222e952668251e60a387fb0c75ee83163ec8 |
| --- /dev/null |
| +++ b/sitescripts/filterhits/schema.sql |
| @@ -0,0 +1,19 @@ |
| +/*!40101 SET @saved_cs_client = @@character_set_client */; |
| +/*!40101 SET character_set_client = utf8 */; |
| +CREATE TABLE `filters` ( |
| + `md5` BINARY(16) NOT NULL, |
| + `filter` TEXT CHARACTER SET utf8 NOT NULL, |
| + PRIMARY KEY(md5) |
| +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
| +/*!40101 SET character_set_client = @saved_cs_client */; |
| + |
| +/*!40101 SET @saved_cs_client = @@character_set_client */; |
| +/*!40101 SET character_set_client = utf8 */; |
|
Sebastian Noack
2015/02/11 16:00:12
This is redundant with the above. Not that we have
kzar
2015/02/17 10:52:24
Done.
Sebastian Noack
2015/02/17 14:59:17
I just realized a typo in my comment above. I actu
|
| +CREATE TABLE `geometrical_mean` ( |
| + `filter_md5` BINARY(16) NOT NULL, |
| + `domain` varchar(255) CHARACTER SET utf8 NOT NULL, |
| + `hits` int(10) unsigned DEFAULT 0 NOT NULL, |
| + `timestamp` timestamp NOT NULL, |
| + PRIMARY KEY(domain, filter_md5) |
| +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
| +/*!40101 SET character_set_client = @saved_cs_client */; |