[ALOY-352] sql adapter requires a migration for initial install
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-11-01T16:34:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 0.3.1, 2012 Sprint 22 |
Components | Runtime |
Labels | GA-candidate |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-10-30T19:28:05.000+0000 |
Updated | 2018-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
No migration is necessary to use sql adapter. The model's table and columns will be created if not migration exists.