Builder/Provider/Database/generate.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 23 Jul 2010 09:37:14 +0000 (17:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 23 Jul 2010 09:37:14 +0000 (17:37 +0800)
Builder/Provider/Database/generate.js

index aabc3de..281f6c9 100644 (file)
@@ -250,7 +250,9 @@ tables.forEach(function(table) {
         if (e.Type == 'text') {
             xtype = 'TextArea';
         }
-        
+        if (e.name == 'id') {
+            xtype = 'Hidden';
+        }
         // what about booleans.. -> checkboxes..