cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1633) [PATCH] add Migrations API for creating and updating DB schema
Date Mon, 12 Dec 2011 15:26:30 GMT

    [ https://issues.apache.org/jira/browse/CAY-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167543#comment-13167543
] 

John Huss commented on CAY-1633:
--------------------------------

Ok, thanks for looking.  I've got a busy week this week, but I'll start a discussion on the
dev list next week.  Thanks.
                
> [PATCH] add Migrations API for creating and updating DB schema
> --------------------------------------------------------------
>
>                 Key: CAY-1633
>                 URL: https://issues.apache.org/jira/browse/CAY-1633
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1M4
>         Environment: Mac 10.6
>            Reporter: John Huss
>            Priority: Minor
>              Labels: patch
>         Attachments: migrations-patch.txt
>
>   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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message