Removed default timestamp because of postgres incompatability

This commit is contained in:
zone 2001-06-14 08:12:42 +00:00
parent dafbf32c4b
commit 2b5da065c0
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False), 'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True), 'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'modifiedby_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),
'modified' => array('type' => 'date','nullable' => True), 'modified' => array('type' => 'date','nullable' => True),
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True), 'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True), 'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),

View File

@ -23,7 +23,7 @@
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False), 'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True), 'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'modifiedby_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),
'modified' => array('type' => 'date','nullable' => True), 'modified' => array('type' => 'date','nullable' => True),
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True), 'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True), 'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),