Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/robinboers/ecto_base64
- Owner: RobinBoers
- License: mit
- Created: 2024-09-21T12:24:17.000Z (3 months ago)
- Default Branch: trunk
- Last Pushed: 2024-09-23T06:50:35.000Z (3 months ago)
- Last Synced: 2024-10-12T23:26:05.034Z (2 months ago)
- Topics: ecto, ecto-types, elixir
- Language: Elixir
- Homepage: https://hexdocs.pm/ecto_base64
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
```