| 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�# � �r � d dl mZ d dlmZ d dlmZ ddlmZ G d� d� � Z G d� d e � � Z
d
� ZdS )� )�
operations)�get_migration_name_timestamp)�atomic� )�IrreversibleErrorc �f � e Zd ZdZg Zg Zg Zg ZdZdZ d� Z
d� Zd� Zd� Z
d� Zdd �Zdd�Zdd�Zd
� ZdS )� Migrationa�
The base class for all migrations.
Migration files will import this from django.db.migrations.Migration
and subclass it as a class called Migration. It will have one or more
of the following attributes:
- operations: A list of Operation instances, probably from django.db.migrations.operations
- dependencies: A list of tuples of (app_path, migration_name)
- run_before: A list of tuples of (app_path, migration_name)
- replaces: A list of migration_names
Note that all migrations come out of migrations and into the Loader or
Graph as instances, having been initialized with their app label and name.
NTc � � || _ || _ t | j j � � | _ t | j j � � | _ t | j j � � | _ t | j j � � | _ d S �N)�name� app_label�list� __class__r �dependencies�
run_before�replaces)�selfr r
s �@/usr/lib/python3/dist-packages/django/db/migrations/migration.py�__init__zMigration.__init__5 se � ��� �"����t�~�8�9�9��� ���!<�=�=����t�~�8�9�9����T�^�4�5�5��
�
�
� c �l � t |t � � o| j |j k o| j |j k S r )�
isinstancer r r
)r �others r �__eq__zMigration.__eq__>