lv upgrade done; home.html form needs changed; test migrations

This commit is contained in:
2024-06-02 14:44:53 +02:00
parent 443081e086
commit 31c126a394
25 changed files with 1452 additions and 284 deletions

View File

@ -0,0 +1,16 @@
defmodule SomethingErlang.Accounts.User do
use Ecto.Schema
import Ecto.Changeset
schema "users" do
field :bbuserid, :string
timestamps()
end
def registration_changeset(user, attrs, _opts \\ []) do
user
|> cast(attrs, [:bbuserid])
|> validate_required([:bbuserid])
end
end