Define the data fields for your database table
Concept
A paper maintenance log form has columns for date, aircraft registration, work performed, technician name, and sign-off. Your database table needs similar columns, but they are called "fields" or "columns" in database terms. Think of each field as one column on that paper form. Today you will define every field your maintenance_logs table needs, what type of data each field stores, and what it is used for.
Apply
Use Gemini to define the data fields for your maintenance_logs table. Copy the table into your PRD document.
Prompt
Expected Result
Your PRD should have a Data Fields table listing all 9 fields for the maintenance_logs table with their data types and descriptions. No foreign keys or relationship fields.
Troubleshooting
- • If Gemini suggests adding foreign keys, user ID references, or relationship fields (like linking to a users table or aircraft table), do not include them. Your project uses a single standalone table with no relationships.
- • Keep field names simple and beginner-friendly. "aircraft_id" is fine even though it is not technically a foreign key in this project -- it just stores the aircraft registration as text.