cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (Updated) (JIRA)" <>
Subject [jira] [Updated] (CAY-1633) [PATCH] add Migrations API for creating and updating DB schema
Date Fri, 18 Nov 2011 16:56:52 GMT


John Huss updated CAY-1633:

    Attachment:     (was: migrations_patch.txt)
> [PATCH] add Migrations API for creating and updating DB schema
> --------------------------------------------------------------
>                 Key: CAY-1633
>                 URL:
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1M4
>         Environment: Mac 10.6
>            Reporter: John Huss
>            Priority: Minor
>              Labels: patch
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> This patch adds classes to create an API for creating and updating DB schema over time
by allowing the user to define Migrations that update the database from one version to the
next.  The API is designed to closely match the SQL syntax used to manipulate tables so it
is very intuitive.  The patch includes unit tests for most functionality, although more could
still be done.  There is also a code generator to generate the initial migration that will
create the database for the first time using the information provided in the DataMaps.  In
the future this would be a great addition to CayenneModeler along with a generator to create
a migration for delta changes to existing schemas.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message