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

11 lines
221 B
Elixir
Raw Normal View History

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