[
http://jira.nuxeo.org/browse/NXP-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46801#action_46801
]
Florent Guillaume commented on NXP-2872:
----------------------------------------
If you add a new field, you will get a:
WARN [Mapper] Adding missing column in database: "myschema"."mynewfield"
If you remove a field, you will get a:
WARN [Mapper] Database contains additional unused columns for table
"myschema": MYOLDFIELD
And if you change the type of a field, you will get a:
ERROR [Mapper] SQL type mismatch for "myschema"."myfield": expected 123,
database has 456
where 123 and 456 are java.sql.Types integers representing the column type.
> SQL Storage: allow schema migration
> -----------------------------------
>
> Key: NXP-2872
> URL: http://jira.nuxeo.org/browse/NXP-2872
> Project: Nuxeo Enterprise Platform
> Issue Type: Task
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.1.7, 5.2 M4
>
> Original Estimate: 1 day
> Time Spent: 1 day
> Remaining Estimate: 0 minutes
>
> When a field is added to a schema, the SQL backend should do the proper ALTER
> TABLE to add the needed column.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets