[dev] [cvs] commit: nag/scripts/upgrades 2006-04-18_add_creator_and_assignee_fields.php

Jan Schneider jan at horde.org
Sun Jul 16 10:02:27 PDT 2006


Zitat von Matt Selsky <selsky at columbia.edu>:

>
> On Jul 16, 2006, at 5:22 AM, Jan Schneider wrote:
>
>> Zitat von Matt Selsky <selsky at columbia.edu>:
>>
>>> selsky      2006-07-15 14:28:20 PDT
>>>
>>>  Modified files:
>>>    scripts/upgrades
>>>                         2006-04-18_add_creator_and_assignee_fields.php
>>>  Log:
>>>  Set NOT NULL constraint for task_creator
>>>
>>>  Revision  Changes    Path
>>>  1.4       +6 -1         
>>> nag/scripts/upgrades/2006-04-18_add_creator_and_assignee_fields.php
>>
>> IIRC, I left this out by intention because there is no portable   
>> statement to do this.
>
> Is it worth having a DB dependent switch statement?

I don't think so. While NOT NULL is semantically correct, it doesn't  
hurt if it stays NULL, since the code needs to provide non-null values  
anyway.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list