Database design doc
Document the data layer: entity relationships, tables and constraints, the query behind each index, volume estimates and archiving.
Prompt
Write a database design doc for the loyalty points system of a US grocery chain. Purpose: serve as the basis for creating tables, design review and future schema changes. Requirements: state the database choice and read/write profile, naming and common-column conventions, give an ER diagram and entity relationships, list each table's columns with type, nullability, defaults and constraints, tie every index to the query it serves, estimate daily growth, three-year row counts and storage per table, and cover partitioning or sharding, archiving and purging, encryption and access control for sensitive fields, and how large-table changes are rolled out and rolled back. Put columns and indexes in tables, in a crisp, professional tone.
- Fonte
- Ofox
Como usar
- 1
Toque em “Criar um igual”
O Ofox Chat abre com a estrutura deste documento já pronta. Faça login antes, se ainda não fez.
- 2
Deixe do seu jeito
Edite as partes destacadas do prompt com os seus próprios detalhes.
- 3
Envie e crie
Envie e o Ofox Chat escreve o documento completo para você baixar. Continue a conversa para revisá-lo.
Perguntas frequentes
Que tipo de arquivo eu recebo?
Um documento completo para baixar (Word ou PDF), não apenas um bloco de texto no chat.
Preciso preparar algo?
Não: você pode enviar direto e o Ofox Chat escreve uma primeira versão a partir do modelo. Se incluir contexto, dados ou documentos que já tem (colados ou enviados como PDF, Word e outros arquivos), o resultado fica muito mais próximo da sua realidade.
Posso editar o prompt?
Sim. O prompt vai para a caixa de entrada do Ofox Chat e, antes de enviar, você pode trocar o tema pelo seu, acrescentar requisitos ou remover o que não precisa.
Posso copiar e usar o prompt diretamente?
Sim. Toque em “Copiar” no cartão do prompt para obter o texto puro; ele também funciona em outras ferramentas de escrita com IA.
Mais como este
Mais prompts de Engenharia- Technical design docExplain how a system or feature will be built—architecture, data model, APIs and alternatives—and assess performance, risks, rollout and rollback.Engenharia
- API referenceDocument auth, conventions, error codes, and each endpoint's parameters and examples so developers can complete the integration on their own.Engenharia
- Incident postmortemReconstruct a production incident on a timeline, quantify its impact, trace the root cause, and set owned, dated actions to prevent a repeat.Engenharia
- Technology evaluationWeigh candidate technologies against criteria set by business needs, score them with evidence, and recommend one with risks and a rollout plan.Engenharia
- Test planDefine what to test, how, where, and when testing is done for a release or project, aligning QA, engineering and product on expectations.Engenharia
- Release runbookTurn a deployment into a step-by-step runbook: pre-release checks, numbered steps, post-release verification, and rollback with clear triggers.Engenharia
- Coding standardsSet shared coding standards: rules ranked must vs. should for naming, structure, error handling, security and reviews, each with examples.Engenharia
- Migration planPlan a system or data migration: inventory, strategy, data sync and validation, phased cutover, and rollback at every stage.Engenharia
- Performance test reportReport a performance test: throughput, latency percentiles and resource use against targets, the bottlenecks found, and a go/no-go call.Engenharia
- Security reviewWrite up a security assessment: scope, threat model, findings with risk ratings and evidence, fixes, and a remediation and retest plan.Engenharia
Tem uma ideia sua? Comece a criar
Descreva em uma frase a imagem que você quer e o Ofox Chat cria do zero.