| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/db/migrations/__pycache__/ |
Upload File : |
�
�|�e�
� �` � d dl mZ d dlmZmZ d dlmZ d dlmZ ddl m
Z
G d� d� � Zd S )
� )�Apps)�
DatabaseError�models)�
classproperty)�now� )�MigrationSchemaMissingc �l � e Zd ZdZdZed� � � Zd� Zed� � � Z d� Z
d� Zd� Zd � Z
d
� Zd� ZdS )�MigrationRecordera�
Deal with storing migration records in the database.
Because this table is actually itself used for dealing with model
creation, it's the one thing we can't do normally via migrations.
We manually handle table creation/schema updating (using schema backend)
and then have a floating model to do queries with.
If a migration is unapplied its row is removed from the table. Having
a row in the table always means a migration is applied.
Nc �\ � | j � G d� dt j � � }|| _ | j S )zl
Lazy load to avoid AppRegistryNotReady if installed apps import
MigrationRecorder.
Nc � � e Zd Z ej d�� � Z ej d�� � Z ej e�� � Z G d� d� � Z
d� ZdS )�.MigrationRecorder.Migration.<locals>.Migration� )�
max_length)�defaultc �* � e Zd Z e� � ZdZdZdS )�3MigrationRecorder.Migration.<locals>.Migration.Meta�
migrations�django_migrationsN)�__name__�
__module__�__qualname__r �apps� app_label�db_table� � �?/usr/lib/python3/dist-packages/django/db/migrations/recorder.py�Metar # s# � � � � � ��4�6�6�D� ,�I�2�H�H�Hr r c �&