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:
7841655
)
dbgenerate.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 27 Feb 2012 05:06:17 +0000
(13:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 27 Feb 2012 05:06:17 +0000
(13:06 +0800)
dbgenerate.js
patch
|
blob
|
history
diff --git
a/dbgenerate.js
b/dbgenerate.js
index
0b86503
..
e105408
100644
(file)
--- a/
dbgenerate.js
+++ b/
dbgenerate.js
@@
-300,6
+300,11
@@
tables.forEach(function(table) {
//print(JSON.stringify(schema, null,4)); Seed.quit();
schema.forEach(function(e) {
+
+ if (!e.Type) {
+ print(JSON.stringify(e, null,4)); Seed.quit();
+ }
+
var type = e.Type.match(/([^(]+)\(([^\)]+)\)/);
var row = { };
if (type) {