You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: databases/casing.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Casing
2
2
3
-
## Tables should use `snake_case`
3
+
## Tables should use `PascalCase`
4
4
5
-
Snake case allows for tables to clearly identify their relationship within the [[query collection hierarchies]].
5
+
PascalCase allows for tables to clearly identify their relationship within the [[query collection hierarchies]].
6
6
7
-
When naming junction tables, the use of underscores separates the table names from the relationship, as in `student_in_class` and `product_in_category`.
7
+
An exception can be made when naming junction tables. The use of underscores can be used to separate the table names from the relationship, as in `Student_in_Class` and `Product_in_Category`.
0 commit comments