Define Schema

Sample Forum Schema (with Private Groups)

Use one and many to define relationships. If two tables have many pointers to each other a "pivital" or "has-many-through" table will be created.

user
	username 20 required
	email string 100 required
	first_name 30
	last_name 30
	bio string 400
	one profile
	many club forum topic reply

profile
	address 100
	zip integer 5

club
	name 20 required
	many user forum

forum
	name 50 required
	many topic

topic
	title 50 required
	body 10000 required
	many reply

reply
	body 10000 required