1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 01:22:49 +00:00

lots of things done: thread - reply - category - seeds

This commit is contained in:
2018-01-02 23:38:17 -06:00
parent 3a61151191
commit 115dacdd12
15 changed files with 291 additions and 27 deletions

View File

@@ -0,0 +1,14 @@
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
add :edited, :boolean
add :quote, :boolean
timestamps()
end
end
end