forked from extern/egroupware
Changed default date to Epoch to hopefully fix postgres problems
This commit is contained in:
parent
7c3002349a
commit
04eb57e6da
@ -9,6 +9,7 @@
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
$oProc->query ("INSERT INTO phpgw_vfs (file_id, owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (1,0,0,NULL,'2000-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','', NULL, NULL)");
|
||||
$oProc->query ("INSERT INTO phpgw_vfs (file_id, owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (2,0,0,NULL,'2000-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','home', NULL, NULL)");
|
||||
$oProc->query ("INSERT INTO phpgw_vfs (owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (1,0,0,NULL,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','', NULL, NULL)");
|
||||
$oProc->query ("INSERT INTO phpgw_vfs (owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (2,0,0,NULL,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','home', NULL, NULL)");
|
||||
|
||||
?>
|
||||
|
@ -23,7 +23,7 @@
|
||||
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
|
||||
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'modifiedby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'created' => array('type' => 'date','nullable' => False),
|
||||
'created' => array('type' => 'date','nullable' => False,'default' => '1970-01-01'),
|
||||
'modified' => array('type' => 'date','nullable' => True),
|
||||
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),
|
||||
|
@ -23,7 +23,7 @@
|
||||
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
|
||||
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'modifiedby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'created' => array('type' => 'date','nullable' => False,'default' => '0000-00-00'),
|
||||
'created' => array('type' => 'date','nullable' => False,'default' => '1970-01-01'),
|
||||
'modified' => array('type' => 'date','nullable' => True),
|
||||
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
|
||||
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),
|
||||
|
Loading…
Reference in New Issue
Block a user