| 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/backends/__pycache__/ |
Upload File : |
�
�|�e� � � � d Z ddlmZ G d� d� � Z G d� de� � Z G d� de� � Z G d � d
e� � Z G d� de� � Z G d
� de� � Z G d� de� � Z G d� de� � Z
G d� de� � ZdS )z~
Helpers to manipulate deferred DDL statements that might need to be adjusted or
discarded within when executing a migration.
� )�deepcopyc �6 � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z dS ) � Referencez0Base class that defines the reference interface.c � � dS )zU
Return whether or not this instance references the specified table.
F� ��self�tables �C/usr/lib/python3/dist-packages/django/db/backends/ddl_references.py�references_tablezReference.references_table � � � �u� c � � dS )zV
Return whether or not this instance references the specified column.
Fr �r r
�columns r �references_columnzReference.references_column r
r c � � dS )zI
Rename all references to the old_name to the new_table.
Nr �r � old_table� new_tables r �rename_table_referencesz!Reference.rename_table_references � � �
�r c � � dS )zL
Rename all references to the old_column to the new_column.
Nr )r r
�
old_column�
new_columns r �rename_column_referencesz"Reference.rename_column_references r r c �B � d| j j �dt | � � �d�S )N�<� �>)� __class__�__name__�str�r s r �__repr__zReference.__repr__# s$ � � � �N�3�3�3�S��Y�Y�Y�Y�?�?r c � � t d� � �)Nz>Subclasses must define how they should be converted to string.)�NotImplementedErrorr$ s r �__str__zReference.__str__&