Update migrations

This commit is contained in:
Mirai Kumiko 2025-06-15 19:33:40 +02:00
parent 50abfe4748
commit 57efda7638
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
12 changed files with 56 additions and 35 deletions

View file

@ -22,8 +22,8 @@ defmodule Nulla.Repo.Migrations.CreateInstanceSettings do
flush()
execute(fn ->
{public_key, private_key} = Nulla.KeyGen.generate_keys()
now = NaiveDateTime.utc_now() |> NaiveDateTime.truncate(:second)
{public_key, private_key} = Nulla.KeyGen.gen()
now = DateTime.utc_now()
domain =
Application.get_env(:nulla, NullaWeb.Endpoint, [])