<s> """<STR_LIT>""" <EOL> revision = '<STR_LIT>' <EOL> down_revision = '<STR_LIT>' <EOL> import datetime <EOL> from alembic import op <EOL> import sqlalchemy as sa <EOL> def upgrade ( ) : <EOL> with op . batch_alter_table ( '<STR_LIT>' ) as batch_op : <EOL> batch_op . alter_column ( '<STR_LIT>' , <EOL> existing_type = sa . Unicode ( length = <NUM_LIT:30> ) , <EOL> nullable = True ) <EOL> batch_op . alter_column ( '<STR_LIT>' , <EOL> existing_type = sa . DateTime , <EOL> nullable = True ) <EOL> def downgrade ( ) : <EOL> with op . batch_alter_table ( '<STR_LIT>' ) as batch_op : <EOL> batch_op . execute ( <EOL> '<STR_LIT>' ) <EOL> batch_op . alter_column ( '<STR_LIT>' , <EOL> existing_type = sa . Unicode ( length = <NUM_LIT:30> ) , <EOL> nullable = False ) <EOL> in_three_days = datetime . datetime . now ( ) + datetime . timedelta ( days = <NUM_LIT:3> ) <EOL> in_three_days = in_three_days . strftime ( '<STR_LIT>' ) <EOL> batch_op . execute ( <EOL> '<STR_LIT>' . format ( <EOL> in_three_days = in_three_days ) ) <EOL> batch_op . alter_column ( '<STR_LIT>' , <EOL> existing_type = sa . DateTime , <EOL> nullable = False ) </s>
