Commit edd08bf1 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make the default for NOT NULL columns be nothing, rather than the empty string

parent 1b3e4273
......@@ -35,7 +35,7 @@ class XMLDBpostgres7 extends XMLDBgenerator {
var $number_type = 'NUMERIC'; // Proper type for NUMBER(x) in this DB
var $unsigned_allowed = false; // To define in the generator must handle unsigned information
var $default_for_char = ''; // To define the default to set for NOT NULLs CHARs without default (null=do nothing)
var $default_for_char = null; // To define the default to set for NOT NULLs CHARs without default (null=do nothing)
var $sequence_extra_code = false; //Does the generator need to add extra code to generate the sequence fields
var $sequence_name = 'BIGSERIAL'; //Particular name for inline sequences in this generator
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment