I've a bit of feedback on the documentation as someone completely fresh to Flyway: Specifically I'm getting my feet wet on this page:
https://github.com/flyway/flywaydb.org/blob/gh-pages/documentation/existing.html
At the moment the documentation states:
For all databases with unimportant data you don't mind losing, perform flyway clean to completely remove their contents.
from reading this top to bottom, I've got as far as setting up a fresh maven install, and Flyway seems to be "working" - my main queries are "how" it's working. For example: the docs haven't told me how has flyway at this point connected to my database? Is running flyway:clean going to wipe a local database?, or some internal database? As someone just trying to get up and running for the first time, I'd want to know that.
My other point for feedback is that the documentation jumps from singular to plural "database" to "databases" without much explanation.
These are the steps to follow to successfully integrate Flyway in a project with an existing database.
Then we go to :
Align the remaining databases with production
Give these databases
and the others will be left as is.
the empty databases will be migrated to the state of production and the others will be left as is.
As soon as you add a new migration, it will be applied identically to all databases.
At this point I'm in puzzled land. I'm just trying to get my feet wet with one production database, one initial migration and now I'm wondering if flyway is somehow going to take a snapshot of my entire MySQL schema somehow, which conflicts with my thinking that one DDL ( V1__Base_version.sql) has been created per database?
There's some reference to an H2 file throughout the docs too, without much explanation where that came from assume that this is an internal database used by Flyway? Is schema history table used inside this internal database, or created inside your production database.
Database: jdbc:h2:file:./foobardb (H2 1.4)
Sorry for the plethora of queries, but just a 5 minute bit of feedback from someone coming completely blind to the project.