Titanium JIRA Archive
Alloy (ALOY)

[ALOY-352] sql adapter requires a migration for initial install

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-11-01T16:34:57.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.1, 2012 Sprint 22
ComponentsRuntime
LabelsGA-candidate
ReporterTony Lukasavage
AssigneeUnknown
Created2012-10-30T19:28:05.000+0000
Updated2018-03-07T22:26:00.000+0000

Description

When using a sql adapter, you must use the alloy generate model command to create your model, or create an accopanying migration manually. If you do not, your model's table will not be created. We need to revisit the sql adapter logic so that either: * No migration is necessary for establishing the initial creation of the model's table * A migration is created for you automatically if one does not already exist

Comments

  1. Tony Lukasavage 2012-11-01

    No migration is necessary to use sql adapter. The model's table and columns will be created if not migration exists.

JSON Source