Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue when adding add-columns #12

Open
zacyang opened this issue Feb 3, 2017 · 0 comments
Open

Issue when adding add-columns #12

zacyang opened this issue Feb 3, 2017 · 0 comments

Comments

@zacyang
Copy link

zacyang commented Feb 3, 2017

The following is similar to what I used in project:

{:database-change-log {:change-set {:id "0001" :author "me" :changes [{:create-table {:table-name "log" :columns [ {:column {:name "some-name" :type "int" :constraints {:nullable? false}}} ]}}]}} {:change-set {:id "0002" :author "me" :changes [{:add-columns {:table-name "log" :columns [ {:column {:name "bla" :type "int" :constraints {:nullable? false}}} ]}}]}}}

what happended is that the change-set 0001 can be executed successfully, after I added the change-set 0002 it explored

AbstractMapChangeLogParser.java: 117 liquibase.ext.edn.AbstractMapChangeLogParser/parse AbstractMapChangeLogParser.java: 69 liquibase.ext.edn.AbstractMapChangeLogParser/parse core.clj: 278 clj-liquibase.core/parse-changelog core.clj: 254 clj-liquibase.core/parse-changelog core.clj: 263 clj-liquibase.core/parse-changelog core.clj: 254 clj-liquibase.core/parse-changelog core.clj: 2514 clojure.core/partial/fn core.clj: 478 clj-liquibase.core/update core.clj: 465 clj-liquibase.core/update cli.clj: 285 clj-liquibase.cli/update cli.clj: 267 clj-liquibase.cli/update RestFn.java: 410 clojure.lang.RestFn/invoke AFn.java: 154 clojure.lang.AFn/applyToHelper RestFn.java: 132 clojure.lang.RestFn/applyTo core.clj: 648 clojure.core/apply core.clj: 641 clojure.core/apply cli.clj: 425 clj-liquibase.cli/entry/call cli.clj: 431 clj-liquibase.cli/entry cli.clj: 421 clj-liquibase.cli/entry RestFn.java: 425 clojure.lang.RestFn/invoke AFn.java: 156 clojure.lang.AFn/applyToHelper RestFn.java: 132 clojure.lang.RestFn/applyTo core.clj: 650 clojure.core/apply core.clj: 641 clojure.core/apply

Also if you can add one example of add-columns in your project?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant