r21786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21785‎ | r21786 | r21787 >
Date:01:45, 2 May 2007
Author:river
Status:old
Tags:
Comment:
fields containing empty strings must be nullable in oracle
Modified paths:
  • /trunk/phase3/maintenance/ora/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/ora/tables.sql
@@ -226,7 +226,7 @@
227227 img_media_type CLOB,
228228 img_major_mime CLOB DEFAULT 'unknown',
229229 img_minor_mime CLOB DEFAULT 'unknown',
230 - img_description CLOB NOT NULL,
 230+ img_description CLOB,
231231 img_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL,
232232 img_user_text CLOB NOT NULL,
233233 img_timestamp TIMESTAMP WITH TIME ZONE
@@ -236,7 +236,7 @@
237237
238238 CREATE TABLE oldimage (
239239 oi_name VARCHAR(255) NOT NULL REFERENCES image(img_name),
240 - oi_archive_name VARCHAR(255) NOT NULL,
 240+ oi_archive_name VARCHAR(255),
241241 oi_size INTEGER NOT NULL,
242242 oi_width INTEGER NOT NULL,
243243 oi_height INTEGER NOT NULL,