summaryrefslogtreecommitdiff
path: root/priv/repo/migrations
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2023-02-01 22:55:06 -0700
committerGitHub <noreply@github.com>2023-02-01 22:55:06 -0700
commit47d3f28f16bdd1eb7ad99b91f7963fd2c4b8f9bf (patch)
tree2682c4ee63fcf67db688bf61077419f521932012 /priv/repo/migrations
parenta26256700d93392dfc92bfc6dc6842dac842cc15 (diff)
downloadchessh-47d3f28f16bdd1eb7ad99b91f7963fd2c4b8f9bf.tar.gz
chessh-47d3f28f16bdd1eb7ad99b91f7963fd2c4b8f9bf.zip
Discord threads (#16)
* Add initial support for discord threads * Finish thread creation
Diffstat (limited to 'priv/repo/migrations')
-rw-r--r--priv/repo/migrations/20230202004927_add_discord_thread_id.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20230202004927_add_discord_thread_id.exs b/priv/repo/migrations/20230202004927_add_discord_thread_id.exs
new file mode 100644
index 0000000..8c7c83a
--- /dev/null
+++ b/priv/repo/migrations/20230202004927_add_discord_thread_id.exs
@@ -0,0 +1,9 @@
+defmodule Chessh.Repo.Migrations.AddDiscordThreadId do
+ use Ecto.Migration
+
+ def change do
+ alter table(:games) do
+ add(:discord_thread_id, :string, null: true)
+ end
+ end
+end