something awful login data
all the stuff to add 2 fields to the user object and to access the logged0in user in a liveview session
This commit is contained in:
10
priv/repo/migrations/20220718094805_users_add_sadata.exs
Normal file
10
priv/repo/migrations/20220718094805_users_add_sadata.exs
Normal file
@ -0,0 +1,10 @@
|
||||
defmodule SomethingErlang.Repo.Migrations.UsersAddSadata do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table("users") do
|
||||
add :bbuserid, :string
|
||||
add :bbpassword, :string
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user