1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-10 09:02:50 +00:00

authentication with persistence working

This commit is contained in:
2018-01-01 18:55:00 -06:00
parent e856cc5172
commit 135ce3a5d6
14 changed files with 172 additions and 38 deletions

View File

@@ -0,0 +1,14 @@
defmodule MyApp.Repo.Migrations.CreateUser do
use Ecto.Migration
def change do
create table(:user) do
add :battle_net_id, :integer
add :battletag, :string
timestamps()
end
create unique_index(:user, [:battle_net_id])
end
end