Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
BusyBytePublic archive

About

FP Scala Wrapper for Flyway

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

272 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutterby

FP Scala Wrapper for Flyway

Status

abandoned due to lack of interest

Installation

Add one of the following to libraryDependencies in build.sbt.

Cats Effect 1.x

Supports Scala 2.12.x

"dev.shawngarner" %% "flutterby-cats_1_x" % "<release-version>"

Cats Effect 2.x

Supports Scala 2.12.x and 2.13.x

"dev.shawngarner" %% "flutterby-cats_2_x" % "<release-version>"

Basic Usage

import cats.effect.IO
import cats.implicits._
import flutterby.core.Flutterby
import flutterby.cats.config.ConfigBuilder
import flutterby.cats.syntax.all._

val flutterby: IO[Flutterby[IO]] =
    ConfigBuilder
      .impl[IO]
      .dataSource(jdbcUrl, dbUserName, dbPassword)
      .load

for {
    fb                                <- flutterby
    successfullyAppliedMigrationCount <- fb.migrate()
    infoAfterMigrate                  <- fb.info()
} yield (successfullyAppliedMigrationCount, infoAfterMigrate)

Compatibility

flutterby Flyway Cats Effect Scala Java
0.1.x 5.2.x+ 1.x 2.12.x 1.8+
0.1.x 5.2.x+ 2.x 2.12.x/2.13.x 1.8+
0.2.x 6.4.x+ 1.x 2.12.x 1.8+
0.2.x 6.4.x+ 2.x 2.12.x/2.13.x 1.8+

About

FP Scala Wrapper for Flyway

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages