mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +02:00
Add ticket photo feature and ensure application is production ready
Adds 'photo_ticket' column to the sales table in init.sql and implements a production readiness validation script. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/7df9e24f-d78b-4589-9a08-c70e02d6d7d9.jpg
This commit is contained in:
1 parent
4f04428dea
commit
9698bb835e
3 files changed
+169
-1
No files matched your search
@@ -83,7 +83,8 @@ CREATE TABLE IF NOT EXISTS sales (
|
||||
|
||||
-- Photos (Base64)
|
||||
photo_recto TEXT,
|
||||
photo_verso TEXT
|
||||
photo_verso TEXT,
|
||||
photo_ticket TEXT
|
||||
);
|
||||
|
||||
-- Index pour optimiser les recherches
|
||||
@@ -164,6 +165,7 @@ COMMENT ON TABLE sales IS 'Table principale des ventes de feux d''artifice';
|
||||
COMMENT ON COLUMN sales.categorie IS 'Catégorie F2 ou F3 selon la réglementation française';
|
||||
COMMENT ON COLUMN sales.photo_recto IS 'Photo recto de la pièce d''identité (Base64)';
|
||||
COMMENT ON COLUMN sales.photo_verso IS 'Photo verso de la pièce d''identité (Base64)';
|
||||
COMMENT ON COLUMN sales.photo_ticket IS 'Photo du ticket de caisse (Base64)';
|
||||
|
||||
-- Affichage des informations de fin
|
||||
\echo 'Base de données RegisFlow initialisée avec succès!'
|
||||
|
||||
Reference in new issue
Block a user