Skip to content

Commit

Permalink
Add logo and funding info
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Jul 6, 2023
1 parent fa2d529 commit d2484c3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# These are supported funding model platforms
patreon: geirolz
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/geirolz/fly4s&style=flat)](https://mergify.io)
[![GitHub license](https://img.shields.io/github/license/geirolz/fly4s)](https://github.com/geirolz/fly4s/blob/main/LICENSE)

<div align="center">
<img src="images/logo.png" alt="logo" width="50%"/>
</div>

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

### Compatibility matrix
Expand Down Expand Up @@ -41,7 +45,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.17"
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.18"
```

### Migrations files
Expand All @@ -56,7 +60,7 @@ For this example, we are going to use a simple `baseline migration` to add a tab

Baseline migrations are versioned and executed only when needed. The version is retrieved from the script file name.

So in this case, `V001__create_user_table.sql`, the version will be `001`(remember the double underscore after `V<version>`).
So in this case, `V001__create_user_table.sql`, the version will be `001`(remember the double underscore after `V`).

Here we have our first migration(for MySQL database)

Expand Down Expand Up @@ -132,7 +136,7 @@ val fly4sRes: Resource[IO, Fly4s[IO]] = Fly4s.make[IO](
)
)
// fly4sRes: Resource[IO, Fly4s[IO]] = Allocate(
// resource = cats.effect.kernel.Resource$$$Lambda$9442/0x0000000802588000@7b7afdf1
// resource = cats.effect.kernel.Resource$$$Lambda$13201/0x00000008034be2e8@5c96bc35
// )
```

Expand Down
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/geirolz/@PRJ_NAME@&style=flat)](https://mergify.io)
[![GitHub license](https://img.shields.io/github/license/geirolz/@PRJ_NAME@)](https://github.com/geirolz/@PRJ_NAME@/blob/main/LICENSE)

<div align="center">
<img src="images/logo.png" alt="logo" width="50%"/>
</div>

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

### Compatibility matrix
Expand Down
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d2484c3

Please sign in to comment.