1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-10 09:02:50 +00:00
Files
classic-wow-forums/priv/repo/migrations/20180103040352_create_reply.exs

15 lines
328 B
Elixir

defmodule MyApp.Repo.Migrations.CreateReply do
use Ecto.Migration
def change do
create table(:reply) do
add :user_id, references(:user)
add :thread_id, references(:thread)
add :content, :string, size: 2000
add :edited, :boolean
add :quote_id, :integer
timestamps()
end
end
end