403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.70.50.62
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/phd_code/securitymodel/migrations/versions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/phd_code/securitymodel/migrations/versions/8b00a460f215_.py
"""empty message

Revision ID: 8b00a460f215
Revises: 4d7dba0636ae
Create Date: 2023-07-22 14:09:09.112493

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '8b00a460f215'
down_revision = '4d7dba0636ae'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('classifications', schema=None) as batch_op:
        batch_op.add_column(sa.Column('attack', sa.Integer(), nullable=True))
        batch_op.add_column(sa.Column('defence', sa.Integer(), nullable=True))
        batch_op.add_column(sa.Column('type', sa.String(length=50), nullable=True))

    with op.batch_alter_table('transactions', schema=None) as batch_op:
        batch_op.add_column(sa.Column('attack', sa.Integer(), nullable=True))
        batch_op.add_column(sa.Column('defence', sa.Integer(), nullable=True))
        batch_op.add_column(sa.Column('type', sa.String(length=50), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('transactions', schema=None) as batch_op:
        batch_op.drop_column('type')
        batch_op.drop_column('defence')
        batch_op.drop_column('attack')

    with op.batch_alter_table('classifications', schema=None) as batch_op:
        batch_op.drop_column('type')
        batch_op.drop_column('defence')
        batch_op.drop_column('attack')

    # ### end Alembic commands ###

Youez - 2016 - github.com/yon3zu
LinuXploit