chessh/priv/repo/migrations/20231004233032_add_trongle_chat.exs
2023-10-04 18:56:35 -06:00

13 lines
255 B
Elixir

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