-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify SetColumnRemarks support for mysql. The original code does not support mysql modification notes #942
Conversation
Thanks for the pull request. Can you please edit it so that all the comments are in English? |
Thanks for the update! |
liquibase-core/src/main/resources/www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd
Outdated
Show resolved
Hide resolved
# Conflicts: # liquibase-core/src/main/java/liquibase/sqlgenerator/core/SetColumnRemarksGenerator.java
Codecov Report
@@ Coverage Diff @@
## master #942 +/- ##
=========================================
Coverage 47.71% 47.72%
- Complexity 7477 7482 +5
=========================================
Files 757 757
Lines 36278 36302 +24
Branches 6624 6628 +4
=========================================
+ Hits 17311 17326 +15
- Misses 16660 16666 +6
- Partials 2307 2310 +3
Continue to review full report at Codecov.
|
Hi @zyzyzy523 , Thanks for your PR submission. Its been awhile since we heard from you. Did you need any help or further guidance around the changes @nvoxland requested? Thanks! Ronak |
@zyzyzy523 I will move this into Conditioning but size it RiskMed. Eng time will be needed to make the change requested by @nvoxland. Thanks for including tests and translations! |
…instead of the tables) comments In the commit 89ba68c (#1326) I used <setColumnRemarks> in order to put comments to the fields. It has turned out that on MySQL, Liquibase put comments on the tables instead of the fields (see liquibase/liquibase#942). After update of Liquibase (#1526), it became possible to fix the bug on our data. Fix #1408
It turns out that the sql statement generated by setColumnRemarks of the mysql database is ALTER TABLE cat.person COMMENT = 'A String';
Now modify it to ALTER TABLE cat.person MODIFY COLUMN id int COMMENT 'A String';