fixing orm
authorLinda Nichols <lynnaloo@gmail.com>
Mon, 25 Aug 2014 00:03:48 +0000 (00:03 +0000)
committerLinda Nichols <lynnaloo@gmail.com>
Mon, 25 Aug 2014 00:03:48 +0000 (00:03 +0000)
enyo-client/database/orm/models/customer.json

index 15519f6..a7571de 100644 (file)
         }
       },
       {
-        "name": "billingContact",
+        "name": "customerType",
         "toOne": {
-          "isNested": true,
-          "type": "ContactRelation",
-          "column": "cust_cntct_id"
+          "type": "CustomerType",
+          "column": "cust_custtype_id"
         }
       },
       {
-        "name": "customerType",
+        "name": "billingContact",
         "toOne": {
-          "type": "CustomerType",
-          "column": "cust_custtype_id",
+          "isNested": true,
+          "type": "ContactRelation",
+          "column": "cust_cntct_id"
         }
       }
     ],