From fe5f5b77fcc3ef24516866561f9b54ac07663ad6 Mon Sep 17 00:00:00 2001 From: Simponic Date: Wed, 1 Feb 2023 14:57:14 -0700 Subject: Discord notifs (#14) * Add role id to config * Add discord notifications for games * Fix discord discriminant tests --- priv/repo/migrations/20221219082326_create_player.exs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'priv') 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 -- cgit v1.2.3-70-g09d2