Skip to content

Commit db2ca36

Browse files
Update sql-review.md
1 parent 49c6a95 commit db2ca36

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.bytebase/sql-review.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,15 @@
33

44
## 1. Table Naming Convention
55
- All table names must be in snake_case
6-
- Table names should be plural nouns (e.g., users, orders, products)
76
- Avoid abbreviations unless commonly understood
87

98
## 2. Column Standards
10-
- Every table must have a created_at timestamp column
11-
- Every table must have an updated_at timestamp column
129
- Primary key columns should be named 'id'
1310

1411
## 3. Index Requirements
15-
- Foreign key columns must have indexes
1612
- Columns used in WHERE clauses frequently should be indexed
1713

1814
## 4. Comment Requirements
19-
- All tables must have descriptive comments
2015
- Complex columns should have comments explaining their purpose
2116

2217
## 5. Type Consistency

0 commit comments

Comments
 (0)