-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Database Schema
- Contains correct datatypes
- Contains appropriate constraints/details
- primary key
- not null
- unique
- indexed
- foreign key
- Contains bullet points after the table that state which foreign keys will reference to which table, or references to the associations which will be made
- foreign key and table name are lowercased, snake_cased and
back_ticked
- foreign key and table name are lowercased, snake_cased and
- Correctly formatted
- schema is written in a table format
- the table's name are lowercased, snake_cased and
back_ticked - the table header column names are bolded
- columns names are lowercased and snaked_cased and
back_ticked
Comments
- your messages table has two primary keys, and the
parent_message_idhas a 'text' datatype - if
dmsis going to be a joins table, it needs two foreign keys: the sender and the receiver. If it's going to be a table for messages, it should have a 'body' reactstable has two primary keys- a separate
message_propertiestable may not be necessary. The messages table can have more foreign keys pointing to the author and channel of each message. Consider making that change, as well as making the dms table into a joins table. Simplifying this will make it easier for you to implement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels