Add default for column allow_spoofing

main
Alexander Graf 2 years ago
parent 3721a6aa02
commit a5eeab37e1
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

@ -15,7 +15,7 @@ import sqlalchemy as sa
def upgrade():
op.add_column('user', sa.Column('allow_spoofing', sa.Boolean(), nullable=False))
op.add_column('user', sa.Column('allow_spoofing', sa.Boolean(), nullable=False, server_default=sa.sql.expression.false()))
def downgrade():

Loading…
Cancel
Save