mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Address issues with optional fields and database references in the Avoirs module
Modify the `avoirs` table schema to make `invoice_reference` and `amount` nullable, update the `suppliers` table insertion to use the `contact` field, and provide a comprehensive guide for production deployment. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/mpVybiP
This commit is contained in:
1 parent
e75006e1cc
commit
083dca5e71
3 files changed
+648
-2
No files matched your search
@@ -2,8 +2,8 @@
|
||||
-- Utilisez ce script SI les tables suppliers/groups/users sont vides
|
||||
|
||||
-- 1. Créer des données de test minimales pour suppliers
|
||||
INSERT INTO suppliers (name, contact_email) VALUES
|
||||
('Fournisseur Test', 'test@supplier.com')
|
||||
INSERT INTO suppliers (name, contact) VALUES
|
||||
('Fournisseur Test', 'Contact Test')
|
||||
ON CONFLICT DO NOTHING;
|
||||
|
||||
-- 2. Créer des données de test minimales pour groups
|
||||
|
||||
Reference in new issue
Block a user