2025-04-12 Next »
2025-04-30
2025-04-16
Database Naming Standards - DEV Community
snake_case
for columns- plurals for table names
- full names for id columns (
mail_id
instead ofid
) - avoid ambiguous names (
fahrenheit
instead oftemperature
)- foreign key constraints should use the same column name as PK in the connected table
- prefix with context id needed (
source_warehouse_id
anddestination_warehouse_id
)