<s> """<STR_LIT>""" <EOL> revision = '<STR_LIT>' <EOL> down_revision = '<STR_LIT>' <EOL> from alembic import op <EOL> import sqlalchemy as sa <EOL> from sqlalchemy import text <EOL> from sqlalchemy . dialects import postgresql <EOL> def upgrade ( ) : <EOL> op . execute ( '<STR_LIT>' ) <EOL> op . execute ( '<STR_LIT>' ) <EOL> op . execute ( '<STR_LIT>' ) <EOL> op . execute ( '<STR_LIT>' ) <EOL> op . alter_column ( '<STR_LIT:test>' , '<STR_LIT>' , <EOL> existing_type = postgresql . TIMESTAMP ( ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT:test>' , '<STR_LIT:result>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> server_default = text ( '<STR_LIT:0>' ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = postgresql . TIMESTAMP ( ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT:name>' , <EOL> existing_type = sa . TEXT ( ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> server_default = text ( '<STR_LIT:0>' ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> server_default = text ( '<STR_LIT:0>' ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT:result>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> server_default = text ( '<STR_LIT:0>' ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = postgresql . TIMESTAMP ( ) , <EOL> nullable = False ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT:name>' , <EOL> existing_type = sa . TEXT ( ) , <EOL> nullable = False ) <EOL> def downgrade ( ) : <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT:name>' , <EOL> existing_type = sa . TEXT ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = postgresql . TIMESTAMP ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT:result>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT:name>' , <EOL> existing_type = sa . TEXT ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT>' , '<STR_LIT>' , <EOL> existing_type = postgresql . TIMESTAMP ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT:test>' , '<STR_LIT:result>' , <EOL> existing_type = sa . INTEGER ( ) , <EOL> nullable = True ) <EOL> op . alter_column ( '<STR_LIT:test>' , '<STR_LIT>' , <EOL> existing_type = postgresql . TIMESTAMP ( ) , <EOL> nullable = True ) </s>
