Created
May 19, 2015 08:12
-
-
Save VladimirPal/d703d5715966c641dd38 to your computer and use it in GitHub Desktop.
alembic default boolean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
op.add_column('projects', sa.Column('is_closed', sa.Boolean(), server_default=sa.schema.DefaultClause("0"), nullable=False)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment