| 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�E � �l � d dl mZ d dlmZmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
G d� d � � Zd
S )� )�apps)�
migrations�router� )�InvalidMigrationPlan)�MigrationLoader)�MigrationRecorder)�ProjectStatec �` � e Zd ZdZdd�Zdd�Zdd�Zdd�Zd� Zd � Z dd
�Z
d� Zdd�Zd
� Z
d� ZdS )�MigrationExecutorzu
End-to-end migration execution - load migrations and run them up or down
to a specified set of targets.
Nc � � || _ t | j � � | _ t | j � � | _ || _ d S �N)�
connectionr �loaderr �recorder�progress_callback)�selfr r s �?/usr/lib/python3/dist-packages/django/db/migrations/executor.py�__init__zMigrationExecutor.__init__ s9 � �$���%�d�o�6�6���)�$�/�:�:��
�!2����� Fc �� � � g }|ri }nt | j j � � }|D �]�� � d ��| j j � � � D ]{}|d � d k rg| j j � |� � D ]G}||v rA|� | j j j | df� � |� |� � �H�|��� |v r�t � fd�| j j j
� j D � � � � }|D ]i}| j j � |� � D ]G}||v rA|� | j j j | df� � |� |� � �H�j��M| j j � � � � D ]L}||vrF|� | j j j | df� � | j j j | ||<