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

server - remove content from thread - store in replies

This commit is contained in:
2018-01-14 17:58:00 -06:00
parent 2584e6a379
commit d9d7f2d202
4 changed files with 17 additions and 43 deletions

View File

@@ -5,10 +5,9 @@ defmodule MyApp.Repo.Migrations.CreateThread do
create table(:thread) do
add :title, :string
add :category_id, :integer
add :content, :string, size: 2000
add :view_count, :integer
add :user_id, references(:user)
add :last_reply_id, :integer # TODO: figure this out
add :last_reply_id, :integer
add :sticky, :boolean
add :locked, :boolean
add :edited, :boolean