# Migrations

# Foreign keys

Use foreign keys whenever possible

# Relations first

Relationships with other tables should come first, before other table columns.

# Use snake_case

Always use snake_case for column names, including foreign keys.

Bad: firstName or userId

Good: first_name or user_id