diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-10-04 18:56:35 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-10-04 18:56:35 -0600 |
commit | 882e2c321ff88acac9894b488f1de109758f8f7d (patch) | |
tree | bc779ed8a9b23dc54cf1edd4a40e3396d8781c45 /priv | |
parent | 48dd80dbf745bd0bb0bd0186ad126d74f66b872b (diff) | |
download | chessh-882e2c321ff88acac9894b488f1de109758f8f7d.tar.gz chessh-882e2c321ff88acac9894b488f1de109758f8f7d.zip |
initial prompt
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20231004233032_add_trongle_chat.exs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/priv/repo/migrations/20231004233032_add_trongle_chat.exs b/priv/repo/migrations/20231004233032_add_trongle_chat.exs new file mode 100644 index 0000000..2a3c8ae --- /dev/null +++ b/priv/repo/migrations/20231004233032_add_trongle_chat.exs @@ -0,0 +1,12 @@ +defmodule Chessh.Repo.Migrations.AddTrongleChat do + use Ecto.Migration + + def change do + create table(:chats) do + add(:message, :string, null: false) + add(:chatter_id, references(:players), null: false) + + timestamps() + end + end +end |