Browse Source

DEFAULT NULL -> NOT NULL

pull/15/head
Ben Kurtovic 10 years ago
parent
commit
b8db8027b2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/schema/afc_copyvios.sql

+ 1
- 1
tasks/schema/afc_copyvios.sql View File

@@ -15,7 +15,7 @@ CREATE DATABASE `u_earwig_afc_copyvios`
DROP TABLE IF EXISTS `cache`; DROP TABLE IF EXISTS `cache`;
CREATE TABLE `cache` ( CREATE TABLE `cache` (
`cache_id` int(10) unsigned NOT NULL, `cache_id` int(10) unsigned NOT NULL,
`cache_hash` char(64) COLLATE utf8_unicode_ci DEFAULT NULL,
`cache_hash` char(64) COLLATE utf8_unicode_ci NOT NULL,
`cache_url` varchar(512) COLLATE utf8_unicode_ci DEFAULT NULL, `cache_url` varchar(512) COLLATE utf8_unicode_ci DEFAULT NULL,
`cache_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `cache_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`cache_queries` int(4) DEFAULT NULL, `cache_queries` int(4) DEFAULT NULL,


Loading…
Cancel
Save