{"repo":"sbt/flyway-sbt","free":true,"listed":false,"github":"https://github.com/sbt/flyway-sbt","clone":"git clone https://github.com/sbt/flyway-sbt.git","description":"An sbt plugin for Flyway database migration","language":"Scala","stars":132,"topics":["flyway","sbt","database","database-migrations","sbt-plugin","continuous-delivery","continuous-deployment","scala","sql","devops"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"sbt plugin for Flyway Welcome to the home for the sbt plugin for flyway. This project is based on the original flyway-sbt that was in the flyway repository through version 4.2.1. Getting started Adding Flyway to your build is very easy. First, update to your project/plugin.sbt file to include: Please check out Maven Central for versions of flyway-sbt for previous versions of Flyway. Edit build.sbt to enable the plugin and configure the database access: Migrate your database using sbt flywayMigrate or clean it using sbt flywayClean . To run flyway before any code generation, let compile depend on flywayMigrate Note that the flywayTarget setting has been disabled due to this bug. Maintenance This repository is a community project and not officially maintained by the Flyway Team at Redgate. This project is looked after only by the open source community. Community Maintainers are people who have agreed to be contacted with queries for support and maintenance. Building and testing Build and testing uses sbt and it's plugin testing framework. The test cases are pretty basic (hint: we need more of those). There is no support for sbt prior to 1.0. Use the legacy plugin instead. Note that from v5.0.0 onwards, the plugin has to be explicitly enabled using enablePlugins(FlywayPlugin) . This prevents Flyway actions triggering unrelated build activity and addresses this issue. Build and test the plugin using Early adopters should just publish a clone or fork of this repository locally:","default_branch":null,"files":null,"tree":[],"storefront":"/r/sbt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sbt/flyway-sbt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}