Skip to content

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

License

Notifications You must be signed in to change notification settings

RobinBoers/ecto_base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EctoBase64

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

Installation

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

Usage

schema "users" do
  field :totp_secret, EctoBase64
end

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages