Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-3137

Update the call for Alloy model generation when sql adapter type is selected

    Details

    • Story Points:
      5

      Description

      In alloy 0.3.4, the following format will generate the model appropriately for all supported adapters types: (sql, properties, and localStorage):

      alloy generate model NAME ADAPTER_TYPE col1:type1 col2:type2 ...
      

      so for example, a sql model would be generated like this:

      alloy generate model myModel sql name:string value:integer
      

      However, we currently call "alloy generate model myModel col1:type1 ..." Need to add "sql" after the model name. For the other adapter types, we are inserting the type correctly, so just need to fix for sql.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                mxia Michael Xia
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: