feat: Implement Ata de Registro de Preços management and linking to objetos and pedidos

This commit is contained in:
2025-12-02 23:29:42 -03:00
parent 8a50fb6f61
commit 4d29501849
7 changed files with 200 additions and 20 deletions

View File

@@ -15,5 +15,12 @@ export const atasTables = {
})
.index('by_numero', ['numero'])
.index('by_empresaId', ['empresaId'])
.index('by_numeroSei', ['numeroSei'])
.index('by_numeroSei', ['numeroSei']),
atasObjetos: defineTable({
ataId: v.id('atas'),
objetoId: v.id('objetos')
})
.index('by_ataId', ['ataId'])
.index('by_objetoId', ['objetoId'])
};