Comments (5)
Fixed in the current snapshot by d737ad6
from grails-database-migration.
Same here 😞
from grails-database-migration.
@olliefreeman I guess GORM it's not supported anymore, the documentation says:
change {
// arbitrary code; make changes directly and/or return a
// SqlStatement using the sqlStatement(SqlStatement sqlStatement)
// method or multiple with sqlStatements(List sqlStatements)
confirm 'change confirmation message'
}
http://grails-plugins.github.io/grails-database-migration/docs/manual/guide/groovyChanges.html
from grails-database-migration.
I'm having the same issue with Grails 3.2.0.M1 and database-migrations 2.0.0.RC4
here's a link to an example
https://github.com/vitorbertazoli/GrailsTest
from grails-database-migration.
The workaround is to wrap your code with Domain.withNewSession { }
from grails-database-migration.
Related Issues (20)
- dbm-gorm-diff fails (Grails4/Gradle 5.6.4 and plugin version 3.1.0) HOT 4
- EnversService#initialize should be called only once HOT 2
- Action Required: Fix Renovate Configuration
- 4.0.0-RC1 missing dependencies HOT 3
- Missing several commands
- dbm-generate-gorm-changelog and dbm-generate-changelog both fail to generate the correct byte array MySQL type HOT 10
- migration scripts not working with Grails 5.0.3 HOT 1
- The links to the documentation are not working HOT 2
- Grails 5.1.1 broken: No such property: instance for class: liquibase.servicelocator.ServiceLocator HOT 3
- Exception deploying war in tomcat with version 4.0.0 HOT 4
- derby.log is created after upgrading 4.0.0 HOT 2
- | Error Command not found dbm-register-changelog HOT 1
- dbm-gorm-diff fails on multiproject build HOT 1
- Exception deploying war in tomcat with version 4.1.0 HOT 1
- Unable to generate liquibase XML using the filename extension
- Unable to use grailsChange in changelog with liquibase >= 4
- Upgrade to v4.18.0 of liquibase-hibernate HOT 1
- NoClassDefFoundError since Liquibase 4.20.0 HOT 1
- None of the dbm-scripts are working with grails 6. HOT 1
- Migration not working with Grails 6 on Tomcat 9 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grails-database-migration.