projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4a4d4
)
dbgenerate.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 27 Feb 2012 05:06:54 +0000
(13:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 27 Feb 2012 05:06:54 +0000
(13:06 +0800)
dbgenerate.js
patch
|
blob
|
history
diff --git
a/dbgenerate.js
b/dbgenerate.js
index
f2f1caa
..
b465155
100644
(file)
--- a/
dbgenerate.js
+++ b/
dbgenerate.js
@@
-302,10
+302,7
@@
tables.forEach(function(table) {
schema.forEach(function(e) {
e.Type = e.type;
e.field = e.field;
- if (!e.Type) {
- print(JSON.stringify(e, null,4)); Seed.quit();
- }
-
+
var type = e.Type.match(/([^(]+)\(([^\)]+)\)/);
var row = { };
if (type) {