
    9i                     V    d dl mZmZ d dlmZ d Zd Z G d dej                        Zy)    )
migrationsmodels)Qc                     | j                  dd      }|j                  j                  t        d      t        d      z        j	                  d       y )N
structures	StructureT)istat_code__isnull )
istat_codeA12345)	get_modelobjectsfilterr   update)appsschema_editorr   s      C/backend/structures/migrations/0014_structure_istat_code_default.pyset_default_istat_coder      sI    |[9IQ$7!r:JJKRR S     c                      y )N )r   r   s     r   noop_reverser      s    r   c                       e Zd ZdgZ ej
                  dd ej                  ddddd      	       ej                  e	e
      gZy
)	Migration)r   0013_structure_istat_code	structurer   Tr   z:ISTAT structure identification code for export file naming    )blankdefault	help_text
max_lengthnull)
model_namenamefieldN)__name__
__module____qualname__dependenciesr   
AlterFieldr   	CharField	RunPythonr   r   
operationsr   r   r   r   r      s_    3L
 	
""&"" V
	
 	
3\BJr   r   N)	django.dbr   r   django.db.modelsr   r   r   r   r   r   r   <module>r0      s'    ( 	
$$ r   