auth via somethingawful cookie
This commit is contained in:
15
priv/repo/migrations/20240329091549_add_bbuserid.exs
Normal file
15
priv/repo/migrations/20240329091549_add_bbuserid.exs
Normal file
@ -0,0 +1,15 @@
|
||||
defmodule SomethingErlang.Repo.Migrations.AddBbuserid do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:users) do
|
||||
remove :email
|
||||
remove :hashed_password
|
||||
remove :confirmed_at
|
||||
add :bbuserid, :citext
|
||||
end
|
||||
|
||||
# drop index(:users, [:email])
|
||||
create unique_index(:users, [:bbuserid])
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user