La version 5 de Planète Casio. Regroupe le forum, les programmes, les tutoriel, les sprites et tous les autres outils développés par nos soins.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
PCv5/migrations/versions/daa5d5913ef8_program_add_pr...

30 lines
829 B

"""program: add progrank score and update date fields
Revision ID: daa5d5913ef8
Revises: 189bbc0e1543
Create Date: 2022-06-15 11:14:30.745287
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'daa5d5913ef8'
down_revision = '189bbc0e1543'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('program', sa.Column('progrank', sa.Integer(), nullable=True))
op.add_column('program', sa.Column('progrank_date', sa.DateTime(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('program', 'progrank_date')
op.drop_column('program', 'progrank')
# ### end Alembic commands ###