HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/trac/upgrades/__pycache__/db17.cpython-310.pyc
o

�k�`��@s$ddlmZmZmZmZdd�ZdS)�)�Table�Column�Index�DatabaseManagerc	Cs�|�d�|�d�tddd�td�td�tdd	d
�tdd	d
�td�td
�tdg�f}t|���\}}|�|�D]}|�|�q9|�d�|�d�dS)zfRename the columns `kind` and `change` in the `node_change` table for
    compatibity with MySQL.
    z:CREATE TEMPORARY TABLE nc_old AS SELECT * FROM node_changezDROP TABLE node_change�node_change)�rev�path�change_type)�keyrr�	node_type�)�sizer	�	base_path�base_revz�INSERT INTO node_change (rev,path,node_type,change_type,base_path,base_rev) SELECT rev,path,kind,change,base_path,base_rev FROM nc_oldzDROP TABLE nc_oldN)�executerrrr�
get_connector�to_sql)�env�ver�cursor�table�db_connector�_�stmt�r�4/usr/lib/python3/dist-packages/trac/upgrades/db17.py�
do_upgrades"




��	
rN)�trac.dbrrrrrrrrr�<module>s