Store Last.fm API key with encrypted secret

This commit is contained in:
Claudio Ortolina
2025-05-06 15:18:14 +01:00
parent d5b29b20bb
commit 95f71519d3
12 changed files with 87 additions and 9 deletions
@@ -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