【发布时间】:2014-03-02 18:43:31
【问题描述】:
我正在尝试在不包含 schema_history 表的现有 Oracle 11g 架构上开始使用 flyway v2.3
在我的 flyway.properties 中,我将 flyway.user 设置为架构所有者,并将 flyway.schemas 属性设置为相同的值
从命令行运行 init 时,我希望 flyway 只创建 schema_history 表,但它失败并显示以下消息:
$ ./flyway.cmd init
Flyway (Command-line Tool) v.2.3
Creating schema "myschema" ...
ERROR: Unable to create schema "myschema"
ERROR: Caused by: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
为什么 flyway 试图创建架构?我只希望它在我配置的架构中创建 schema_history 表
【问题讨论】:
标签: flyway