mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-09 16:42:49 +00:00
15 lines
328 B
Elixir
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
|