From 47d3f28f16bdd1eb7ad99b91f7963fd2c4b8f9bf Mon Sep 17 00:00:00 2001 From: Simponic Date: Wed, 1 Feb 2023 22:55:06 -0700 Subject: Discord threads (#16) * Add initial support for discord threads * Finish thread creation --- priv/repo/migrations/20230202004927_add_discord_thread_id.exs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 priv/repo/migrations/20230202004927_add_discord_thread_id.exs (limited to 'priv') 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 -- cgit v1.2.3-70-g09d2