mirror of
				https://github.com/StefBuwalda/dashboard_test.git
				synced 2025-10-31 03:39:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			921 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			921 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """empty message
 | |
| 
 | |
| Revision ID: f04407e8e466
 | |
| Revises: d7d380435347
 | |
| Create Date: 2025-09-03 15:40:30.413166
 | |
| 
 | |
| """
 | |
| from alembic import op
 | |
| import sqlalchemy as sa
 | |
| 
 | |
| 
 | |
| # revision identifiers, used by Alembic.
 | |
| revision = 'f04407e8e466'
 | |
| down_revision = 'd7d380435347'
 | |
| branch_labels = None
 | |
| depends_on = None
 | |
| 
 | |
| 
 | |
| def upgrade():
 | |
|     # ### commands auto generated by Alembic - please adjust! ###
 | |
|     op.create_table('service',
 | |
|     sa.Column('id', sa.Integer(), nullable=False),
 | |
|     sa.Column('url', sa.String(), nullable=False),
 | |
|     sa.Column('label', sa.String(length=15), nullable=False),
 | |
|     sa.Column('public_access', sa.Boolean(), nullable=False),
 | |
|     sa.Column('ping_method', sa.Integer(), nullable=False),
 | |
|     sa.PrimaryKeyConstraint('id')
 | |
|     )
 | |
|     # ### end Alembic commands ###
 | |
| 
 | |
| 
 | |
| def downgrade():
 | |
|     # ### commands auto generated by Alembic - please adjust! ###
 | |
|     op.drop_table('service')
 | |
|     # ### end Alembic commands ###
 |