postland/priv/repo/migrations/20240921235213_add_keys_to_user.exs

10 lines
221 B
Elixir

defmodule Postland.Repo.Migrations.AddKeysToUser do
use Ecto.Migration
def change do
alter table("users") do
add :private_key, :text, null: false
add :public_key, :text, null: false
end
end
end