[
https://issues.apache.org/cayenne/browse/CAY-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105#action_13105
]
Tore Halset commented on CAY-1108:
----------------------------------
I have added the SetNotNullToDb-MySQL.patch. Thanks Scott!
I have not added the increase_reuse.patch as that would make SetColumnTypeToDb
and AddColumnToDb include the "not null" clause. We need not null to be a
separate token to be able to add a default value after the column is added, but
before setting not null.
Please report back if this is ok Scott!
> [PATCH] MySQL/DbMerger compatibility
> ------------------------------------
>
> Key: CAY-1108
> URL: https://issues.apache.org/cayenne/browse/CAY-1108
> Project: Cayenne
> Issue Type: Improvement
> Components: Cayenne Core Library
> Affects Versions: 3.0
> Reporter: Scott Anderson
> Assignee: Tore Halset
> Attachments: increase_reuse.patch, SetNotNullToDb-MySQL.patch
>
>
> This patch will generate proper SQL for changing a MySQL field to NOT NULL
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.