You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (JIRA)" <ji...@apache.org> on 2018/12/12 20:58:00 UTC

[jira] [Closed] (CAY-1633) [PATCH] add Migrations API for creating and updating DB schema

     [ https://issues.apache.org/jira/browse/CAY-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Huss closed CAY-1633.
--------------------------
    Resolution: Won't Fix

> [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.1B1
>         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 was sent by Atlassian JIRA
(v7.6.3#76005)