projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0a6ed
)
inc/DBSchema/mysql.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:39:50 +0000
(23:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:39:50 +0000
(23:39 +0800)
inc/DBSchema/mysql.php
patch
|
blob
|
history
diff --git
a/inc/DBSchema/mysql.php
b/inc/DBSchema/mysql.php
index
b288645
..
7ade24e
100644
(file)
--- a/
inc/DBSchema/mysql.php
+++ b/
inc/DBSchema/mysql.php
@@
-35,7
+35,7
@@
class MTrackDBSchema_mysql extends MTrackDBSchema_Generic
function computeFieldCreate($f)
{
- $str = "\t
$f->name
";
+ $str = "\t
`$f->name`
";
$str .= isset($this->typemap[$f->type]) ? $this->typemap[$f->type] : $f->type;
if (isset($f->nullable) && $f->nullable == '0') {
$str .= ' NOT NULL ';