+
    hwÚi^  ã                   óJ   € R t ^ RIHtHt R t ! R R]P
                  4      tR# )a½  
Documentation du fichier : facturation/migrations/0011_stock_quantite_non_negative.py

Role du fichier :
    Cette migration historique enregistre une evolution du schema de donnees
    pour l'application facturation.

A retenir :
    - elle conserve la trace des changements de structure de la base ;
    - elle ne porte pas la logique metier courante du projet ;
    - elle reste importante pour reconstruire la base ou rejouer l'historique.
)Ú
migrationsÚmodelsc                ó‚   € V P                  RR4      pVP                  P                  ^ R7      P                  ^ R7       R# )z3Execute le traitement clamp negative stock to zero.ÚfacturationÚStockPointDeVente)Úquantite__lt)ÚquantiteN)Ú	get_modelÚobjectsÚfilterÚupdate)ÚappsÚschema_editorr   s   && ÚYD:\ProjetDjango\FacControl_1.3\facturation\migrations\0011_stock_quantite_non_negative.pyÚclamp_negative_stock_to_zeror      s;   € ð Ÿ™ }Ð6IÓJÐØ×Ñ×$Ñ$°!Ð$Ó4×;Ñ;ÀQÐ;ÖGó    c            
       óÜ   € ] tR t^tRtR	.t]P                  ! ]]P                  P                  4      ]P                  ! R]P                  ! ]P                  ! ^ R7      RR7      R7      .tRtR# )
Ú	Migrationz?Decrit les operations de schema appliquees par cette migration.Ústockpointdevente)Úquantite__gteÚstock_quantite_gte_0)Ú	conditionÚname)Ú
model_nameÚ
constraint© N)r   Ú%0010_commande_fiscal_channel_and_more)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Údependenciesr   Ú	RunPythonr   ÚnoopÚAddConstraintr   ÚCheckConstraintÚQÚ
operationsÚ__static_attributes__r   r   r   r   r      sf   † áIð 	Að€Lð
 	×ÒÐ9¸:×;OÑ;O×;TÑ;TÓUØ× Ò Ø*Ø×-Ò-Ø Ÿ(š(°Ô3Ø+ôô	
ð	„Jr   r   N)r!   Ú	django.dbr   r   r   r   r   r   r   Ú<module>r+      s'   ðñ÷ )òHô�
×$Ñ$ö r   