Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robinboers/ecto_base64

Custom `Ecto` type to base64 {en,de}code binary data in your database.
https://github.com/robinboers/ecto_base64

ecto ecto-types elixir

Last synced: 2 months ago
JSON representation

Custom `Ecto` type to base64 {en,de}code binary data in your database.

Awesome Lists containing this project

README

        

# EctoBase64

Custom `Ecto` type to base64 {en,de}code binary data in your database.

## Installation

```elixir
def deps do
[
{:ecto_base64, "~> 0.1.0"}
]
end
```

## Usage

```elixir
schema "users" do
field :totp_secret, EctoBase64
end
```