@@ -0,0 +1,812 @@
+%22%22%22add corporation flag%0A%0ARevision ID: d03236a0cda4%0ARevises: 47e567919169%0ACreate Date: 2017-04-12 13:21:03.482000%0A%0A%22%22%22%0A%0A# revision identifiers, used by Alembic.%0A%0Aimport sqlalchemy as sa%0A%0Afrom alembic import op%0Afrom lazyblacksmith.models import Blueprint%0Afrom lazyblacksmith.models import db%0A%0Arevision = 'd03236a0cda4'%0Adown_revision = '47e567919169'%0A%0Adef upgrade():%0A    # ### commands auto generated by Alembic - please adjust! ###%0A    op.add_column('blueprint',%0A                  sa.Column('corporation', sa.Boolean(), nullable=False))%0A    Blueprint.query.update(%7B'corporation': False%7D)%0A    db.session.commit()%0A    # ### end Alembic commands ###%0A%0A%0Adef downgrade():%0A    # ### commands auto generated by Alembic - please adjust! ###%0A    op.drop_column('blueprint', 'corporation')%0A    # ### end Alembic commands ###%0A

Add corporation flag in blueprints