1 2 3 4 5 6 7 8 9 10 11 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