Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Feb 15, 2023
1 parent 272543d commit c11f36d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@
[![GitHub license](https://img.shields.io/github/license/geirolz/fly4s)](https://github.com/geirolz/fly4s/blob/main/LICENSE)


https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/<owner>/fly4s&style=flat

A lightweight, simple and functional wrapper for Flyway using cats-effect.

### Compatibility matrix

| **Fly4s** | **Flyway** |
|----------------------------------------------------------------------|------------|
| [0.x](https://github.com/geirolz/fly4s/releases?q=0.&expanded=false) | 9.x |


The most famous library to handle database migrations in Java is for sure Flyway.
It works very well and the community edition has a lot of features as well.
But Flyway APIs are written in the standard OOP paradigm, so throwing exceptions, manually managing resources, etc...
Expand All @@ -35,7 +44,7 @@ So, add the dependency in your `build.sbt` file.
Fly4s depends on Flyway, so we'll have access to Flyway as well

```sbt
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.15"
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.16"
```

### Migrations files
Expand Down Expand Up @@ -126,7 +135,7 @@ val fly4sRes: Resource[IO, Fly4s[IO]] = Fly4s.make[IO](
)
)
// fly4sRes: Resource[IO, Fly4s[IO]] = Allocate(
// resource = cats.effect.kernel.Resource$$$Lambda$10816/0x0000000802a2f720@134f3c7
// resource = cats.effect.kernel.Resource$$$Lambda$14724/0x0000000802e11ae0@68452df0
// )
```

Expand Down
7 changes: 7 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/<owner

A lightweight, simple and functional wrapper for Flyway using cats-effect.

### Compatibility matrix

| **Fly4s** | **Flyway** |
|----------------------------------------------------------------------|------------|
| [0.x](https://github.com/geirolz/fly4s/releases?q=0.&expanded=false) | 9.x |


The most famous library to handle database migrations in Java is for sure Flyway.
It works very well and the community edition has a lot of features as well.
But Flyway APIs are written in the standard OOP paradigm, so throwing exceptions, manually managing resources, etc...
Expand Down

0 comments on commit c11f36d

Please sign in to comment.