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

@@ -4,15 +4,15 @@ defmodule MyApp.Repo.Migrations.CreateThread do
def change do
create table(:thread) do
add :title, :string
add :category_id, :integer
add :content, :string
add :view_count, :integer
add :user_id, references(:user)
add :last_reply_id, :integer
add :last_reply_id, :integer # TODO: figure this out
add :sticky, :boolean
add :locked, :boolean
add :edited, :boolean
timestamps()
end
end
end