Mario F
Mario F

Reputation: 47279

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 is supported (we're using 8.4). Is it possible to work around/fix this limitation somehow, or should I start looking for other options?

Edit: I forgot to mention that when I run something like mvn flyway:status, I get the error message:

Flyway Error: java.lang.IllegalArgumentException: Unsupported Database: PostgreSQL

I can connect to the DB via psql, and I'm using the correct jdbc driver, so when I saw the requirements page in the documentation, I assumed that the version was explicitly checked by flyway.

Upvotes: 1

Views: 1734

Answers (1)

Frank Heikens
Frank Heikens

Reputation: 127056

What limitations do you encounter? Flyway is only tested on PostgreSQL version 9.0, that's it. It's not said that older PostgreSQL versions don't work. Just give it a try.

You could also setup a PostgreSQL 9.0 installation on your testbox to see if there is any difference.

Upvotes: 2

Related Questions