from orator.migrations import Migration


class AlterMessageStepsNullable(Migration):

    def up(self):
        """
        Run the migrations.
        """
        with self.schema.table('steps') as table:
            table.text('message').nullable().change()
            pass

    def down(self):
        """
        Revert the migrations.
        """
        cols = ['message']
        with self.schema.table('steps') as table:
            for col in enumerate(cols):
                if col in table.get_columns():
                    table.text('message').change()
            pass

f50baa610286c9e3016f5a42d07cf698a0736c39
<mask token>


class AlterMessageStepsNullable(Migration):
    <mask token>
    <mask token>

<mask token>


class AlterMessageStepsNullable(Migration):

    def up(self):
        """
        Run the migrations.
        """
        with self.schema.table('steps') as table:
            table.text('message').nullable().change()
            pass
    <mask token>

<mask token>


class AlterMessageStepsNullable(Migration):

    def up(self):
        """
        Run the migrations.
        """
        with self.schema.table('steps') as table:
            table.text('message').nullable().change()
            pass

    def down(self):
        """
        Revert the migrations.
        """
        cols = ['message']
        with self.schema.table('steps') as table:
            for col in enumerate(cols):
                if col in table.get_columns():
                    table.text('message').change()
            pass

from orator.migrations import Migration


class AlterMessageStepsNullable(Migration):

    def up(self):
        """
        Run the migrations.
        """
        with self.schema.table('steps') as table:
            table.text('message').nullable().change()
            pass

    def down(self):
        """
        Revert the migrations.
        """
        cols = ['message']
        with self.schema.table('steps') as table:
            for col in enumerate(cols):
                if col in table.get_columns():
                    table.text('message').change()
            pass
