erDiagram
Board {
id int
name string
}
User {
id int
user_name string
display_name string
password_digest string
is_admin boolean
}
Post {
id int
board_id reference(Board)
author_id reference(User)
title string(255)
body string(65535)
created_at datetime
updated_at datetime
}
Comment {
id int
post_id int
author_id int
body string(65535)
created_at datetime
updated_at datetime
}
User ||--|{ Post : "authors"
Board ||--|{ Post : "has"
Post ||--|{ Comment : "has"
User ||--|{ Comment : "authors"
-
Notifications
You must be signed in to change notification settings - Fork 0
southball/rails-forum
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple forum written to learn Rails.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published