projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
591ef44
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 30 Oct 2013 05:54:18 +0000
(13:54 +0800)
committer
Edward
<edward@roojs.com>
Wed, 30 Oct 2013 05:54:18 +0000
(13:54 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
72bbcd1
..
5069631
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-312,12
+312,8
@@
class Pman_Core_UpdateDatabase extends Pman
$tbl = $m[1];
}
if (preg_match('#create\s+table\s+\`{0,1}([a-z0-9_]+)\`{0,1}#i', $l, $m)) {
-
$tbl = 'shop_' . strtolower($m[1]);
$l = preg_replace('#create\s+table\s+\`{0,1}([a-z0-9_]+)\`{0,1}#i', "CREATE TABLE {$tbl}", $l);
-
-
- // $extra[] = "drop table {$tbl};";
}
print_r($l);exit;
// autoinc