projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e3381
)
inc/DBSchema/mysql.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:39:07 +0000
(23:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:39:07 +0000
(23:39 +0800)
inc/DBSchema/mysql.php
patch
|
blob
|
history
diff --git
a/inc/DBSchema/mysql.php
b/inc/DBSchema/mysql.php
index
7d81336
..
b288645
100644
(file)
--- a/
inc/DBSchema/mysql.php
+++ b/
inc/DBSchema/mysql.php
@@
-47,7
+47,7
@@
class MTrackDBSchema_mysql extends MTrackDBSchema_Generic
return $str . " DEFAULT ''";
}
- return $str . ($f->default == 'CURRENT_TIMESTAMP' ? '' : $f->default);
+ return $str . ($f->default == 'CURRENT_TIMESTAMP' ? '' :
'DEFAULT '.
$f->default);
}
// may as well rewrite this.. as we have too loop throug hit anyway..