Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
django
/
db
/
migrations
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: migration.cpython-310.pyc
o 3�a�# � @ sZ d dl mZ d dlmZ d dlmZ ddlmZ G dd� d�ZG dd � d e �Z d d� ZdS ) � )� operations)�get_migration_name_timestamp)�atomic� )�IrreversibleErrorc @ sv e Zd ZdZg Zg Zg Zg ZdZdZ dd� Z dd� Zdd � Zd d� Z dd � Zddd�Zddd�Zddd�Zdd� 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 C sH || _ || _t| jj�| _t| jj�| _t| jj�| _t| jj�| _d S �N)�name� app_label�list� __class__r �dependencies� run_before�replaces)�selfr r � r �@/usr/lib/python3/dist-packages/django/db/migrations/migration.py�__init__5 s zMigration.__init__c C s"