English 中文(简体)
能否从数据模型中找到和生成移民档案?
原标题:Can Flyway find out and generate migration files from datamodel?
  • 时间:2012-01-14 19:05:09
  •  标签:
  • flyway

人人:

我一直在研究一下Flyway,但我不敢肯定我如何利用它。 就我而言,我有一个实体模式(使用日本邮局附加说明),对我来说,FlyWay每当我称之为“移民”并生成移民档案时,就可以发现我模式的变化。 这就是铁路工程(Rails使用DSL)的方式,但我希望你理解我的含义。 正如我所读到的,Flyway不以这种方式工作,而是需要移民档案(ql或Java)。

If I integrated Flyway in my application (programmatic), could I generate those migration files? I think the answer is "no", that way only would give me control over migrations from Java code. Am I right?

提前感谢:

问题回答

这一点目前没有得到支持。

自由地在问题轨道上提出申请:

要想做到这一点,就必须把这项工作交给你重新使用的支尔巴执行工作,这样就会trick。

然而,我建议的是,你利用《联合行动计划》的实施来制作移民文字,然后把这些文字推向飞地。 它很简单,开诚布公,不了解他人。





相关问题
Flyway, Postgresql, Unable to acquire Flyway advisory lock

We had a transaction that updates 2000000 rows in a postgresql 10 database using flyway (v6). It failed with Unable to acquire Flyway advisory lock . 2000000 records is not that big and it is 1 ...

Pre- and Post-migration scripts for Flyway

I am looking for a way to execute a hook script before and after migration. I have a bunch of views and stored procedures and would like the process to be: Drop all views and stored procedures. Run ...

Flyway output to SQL File

Is it possible to output the db migration to an SQL file instead of directly invoking database changes in flyway?

Flyway migration during ear deployment

We would love it if Flyway could migrate our database during deployment of an .ear artifact (JBoss 4.2). It should abort if anything goes wrong. Flyway with mvn flyway:migrate works, but for ...

Flyway: Support for older DB s

I m currently trying to set up some simple migration scripts for our databases. I was checking flyway, which seems to be simple enough for what I need. My problem is that, for Postgres, only version 9 ...

热门标签