Liquibase master is absent at `liquibase/master.xml`
Closed this issue · 8 comments
h1alexbel commented
I'm using Pgtk in this rake task:
require 'pgtk/liquibase_task'
Pgtk::LiquibaseTask.new(:liquibase) do |t|
puts "Been there!"
puts __dir__
t.master = '/liquibase/master.xml'
t.yaml = ['target/pgsql-config.yml', 'config.yml']
t.postgresql_version = '42.7.1'
t.liquibase_version = '4.25.1'
end
also I have liquibase/master.xml
in the root dir.
however, when I run
$ bundle exec rake
I got the following exception:
Random TCP port 53087 is used
2024-01-18 22:17:44.083 +03 [23146] LOG: starting PostgreSQL 14.10 (Homebrew) on aarch64-apple-darwin23.0.0, compiled by Apple clang version 15.0.0 (clang-1500.0.40.1), 64-bit
2024-01-18 22:17:44.084 +03 [23146] LOG: listening on IPv4 address "127.0.0.1", port 53087
2024-01-18 22:17:44.084 +03 [23146] LOG: listening on IPv6 address "::1", port 53087
2024-01-18 22:17:44.085 +03 [23146] LOG: listening on Unix socket "/Users/avbialiauski/code/netbout/net/target/pgsql/.s.PGSQL.53087"
2024-01-18 22:17:44.087 +03 [23147] LOG: database system was shut down at 2024-01-18 22:17:44 +03
2024-01-18 22:17:44.088 +03 [23146] LOG: database system is ready to accept connections
PostgreSQL has been started in process #23146, port 53087
Been there!
/Users/avbialiauski/code/netbout/net
rake aborted!
Liquibase master is absent at liquibase/master.xml
yegor256 commented
@h1alexbel I believe it should be:
t.master = 'liquibase/master.xml'
rultor commented
rultor commented
yegor256 commented
@h1alexbel try version 0.9.2