Welcome Guest, Not a member yet? Register   Sign In
Using dbforge?
#7

[eluser]ipsod[/eluser]
This should work:
Code:
'date' => array('type=>"TIMESTAMP DEFAULT CURRENT_TIMESTAMP")

Note, though, MySQL table can only have a single field that has CURRENT_TIMESTAMP as default, according to errors.


Messages In This Thread
Using dbforge? - by El Forum - 09-16-2010, 06:01 AM
Using dbforge? - by El Forum - 09-16-2010, 06:41 AM
Using dbforge? - by El Forum - 09-16-2010, 08:00 AM
Using dbforge? - by El Forum - 09-16-2010, 09:42 AM
Using dbforge? - by El Forum - 09-16-2010, 09:55 AM
Using dbforge? - by El Forum - 09-16-2010, 01:48 PM
Using dbforge? - by El Forum - 06-17-2011, 06:03 PM
Using dbforge? - by El Forum - 08-02-2012, 02:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB