diff options
author | Simponic <loganhunt@simponic.xyz> | 2023-02-01 14:57:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 14:57:14 -0700 |
commit | fe5f5b77fcc3ef24516866561f9b54ac07663ad6 (patch) | |
tree | ba63998ec306983d87594195d60ecb0abb6ea5d1 /priv | |
parent | 324d041d5c5cbcdf0083dcd802144a57443789f6 (diff) | |
download | chessh-fe5f5b77fcc3ef24516866561f9b54ac07663ad6.tar.gz chessh-fe5f5b77fcc3ef24516866561f9b54ac07663ad6.zip |
Discord notifs (#14)
* Add role id to config
* Add discord notifications for games
* Fix discord discriminant tests
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20221219082326_create_player.exs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/priv/repo/migrations/20221219082326_create_player.exs b/priv/repo/migrations/20221219082326_create_player.exs index 0e605c9..2b7d2b6 100644 --- a/priv/repo/migrations/20221219082326_create_player.exs +++ b/priv/repo/migrations/20221219082326_create_player.exs @@ -2,11 +2,9 @@ defmodule Chessh.Repo.Migrations.CreatePlayer do use Ecto.Migration def change do - execute("CREATE EXTENSION IF NOT EXISTS citext", "") - create table(:players) do add(:discord_id, :string, null: false) - add(:username, :citext, null: false) + add(:username, :string, null: false) add(:hashed_password, :string, null: true) timestamps() end |