Store Last.fm API key with encrypted secret
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
defmodule MusicLibrary.Repo.Migrations.CreateSecrets do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:secrets, primary_key: false) do
|
||||
add :name, :string, primary_key: true
|
||||
add :value, :binary, null: false
|
||||
|
||||
timestamps()
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user