§ }<ˆj¿ ã ó† — d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dl m Z d d l mZ d d l mZ d dl m Z d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ ddlmZ er6d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm!Z! d dlm"Z" d dl#m$Z$ ddl%m&Z& G d„ de¦ « Z' eed¦ « d'd&„¦ « Z(dS )(é )ÚannotationsN)ÚAny)ÚDict)ÚOptional)Ú TYPE_CHECKING)ÚUnion)Úcast)ÚJSON)Úschema)Úsql)Úcompilesé )Úalter_table)Úformat_table_name)ÚRenameTable)ÚDefaultImplé )Úutil)Ú Inspector)ÚDDLCompiler)ÚCast)Ú ClauseElement)ÚColumn)Ú Constraint)ÚTable)Ú TypeEngine)ÚBatchOperationsImplc ól ‡ — e Zd ZdZdZ d(d„Zd)d „Zd)d„Zd*d„Zd+d„Z d,d„Z d-d.ˆ fd „ Zd/d&„Zd'„ Z ˆ xZS )0Ú SQLiteImplÚsqliteFÚbatch_opr ÚreturnÚboolc ó\ — |j D ]£}|d dk rˆ|d d }t |j t j ¦ « r't |j j t j ¦ « r dS t |j t j j ¦ « r|j j r dS Œ–|d dvr dS Œ¤dS )zÿReturn True if the given :class:`.BatchOperationsImpl` would need the table to be recreated and copied in order to proceed. Normally, only returns True on SQLite when operations other than add_column are present. r Ú add_columnr T)Úcreate_indexÚ drop_indexF)ÚbatchÚ isinstanceÚserver_defaultr Ú DefaultClauseÚargr r r Úsqla_compatÚComputedÚ persisted)Úselfr! ÚopÚcols úd/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/alembic/ddl/sqlite.pyÚrequires_recreate_in_batchz%SQLiteImpl.requires_recreate_in_batch+ sÈ € ð ”.ð ð ˆBØ�!Œu˜Ò$Ð$ؘ”e˜A”h�ÝØÔ&Ô(<ñô ð å Ô!3Ô!7½Ô9JÑKÔKð ð ˜4˜4å˜sÔ1µ4Ô3CÔ3LÑMÔMð àÔ*Ô4ð ð ˜4˜4øØ�A”Ð<Ð<Ð<Ø�t�tð =ð �5ó Úconstr c óˆ — |j €t d¦ « ‚| | ¦ « rt j d¦ « d S d S )Nú No support for ALTER of constraints in SQLite dialect. Please refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy.z©Skipping unsupported ALTER for creation of implicit constraint. Please refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy.)Ú_create_ruleÚNotImplementedErrorr Úwarn©r0 r6 s r3 Úadd_constraintzSQLiteImpl.add_constraintG sk € ð ÔÐ%Ý%ðDñô ð ð × Ò Ñ %Ô %ð ÝŒIðDñ ô ð ð ð ð ð r5 c ó2 — |j €t d¦ « ‚d S )Nr8 )r9 r: r<