Describe the schema change you need and get a migration script with both up and down steps, plus risk notes.
Write a {{language}} database migration that: {{focus}}. Target: {{framework}}. Include both the up and down migration, and note any risk of data loss.
{{CLIPBOARD}}
Describe your app's data requirements and get a normalized schema with tables, keys, and index suggestions.
Design a normalized {{language}} database schema for: {{focus}}. Include tables, columns with types, primary/foreign keys, and note any indexes worth adding.
{{CLIPBOARD}}
Describe what data you need in plain English and get a ready-to-run SQL query matched to your schema.
Write a {{language}} SQL query for the following request against this schema: {{focus}}. Explain each clause briefly and flag any assumptions about table or column names.
{{CLIPBOARD}}