chessh/priv/repo/migrations/20231004233032_add_trongle_chat.exs

13 lines
255 B
Elixir
Raw Normal View History

2023-10-04 20:56:35 -04:00
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