mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Fix TranskribusHTRModel display problems
This commit is contained in:
		
							
								
								
									
										28
									
								
								migrations/versions/260b57d5f4e7_.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								migrations/versions/260b57d5f4e7_.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
"""Remove transkribus_name column from transkribus_htr_models table
 | 
			
		||||
 | 
			
		||||
Revision ID: 260b57d5f4e7
 | 
			
		||||
Revises: 2c4e27331ccb
 | 
			
		||||
Create Date: 2022-10-04 13:26:47.186931
 | 
			
		||||
 | 
			
		||||
"""
 | 
			
		||||
from alembic import op
 | 
			
		||||
import sqlalchemy as sa
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# revision identifiers, used by Alembic.
 | 
			
		||||
revision = '260b57d5f4e7'
 | 
			
		||||
down_revision = '2c4e27331ccb'
 | 
			
		||||
branch_labels = None
 | 
			
		||||
depends_on = None
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def upgrade():
 | 
			
		||||
    # ### commands auto generated by Alembic - please adjust! ###
 | 
			
		||||
    op.drop_column('transkribus_htr_models', 'transkribus_name')
 | 
			
		||||
    # ### end Alembic commands ###
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def downgrade():
 | 
			
		||||
    # ### commands auto generated by Alembic - please adjust! ###
 | 
			
		||||
    op.add_column('transkribus_htr_models', sa.Column('transkribus_name', sa.VARCHAR(length=64), autoincrement=False, nullable=True))
 | 
			
		||||
    # ### end Alembic commands ###
 | 
			
		||||
		Reference in New Issue
	
	Block a user