Skip to content

Commit

Permalink
feat: use show_workflow_steps
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola committed Jun 21, 2024
1 parent fde7261 commit 765feff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('sites', schema=None) as batch_op:
batch_op.add_column(sa.Column('show_workflow_steps', sa.Boolean(), server_default=sa.text('false'), nullable=False))
batch_op.add_column(sa.Column('show_workflow_steps', sa.Boolean(), server_default=sa.text('true'), nullable=False))

# ### end Alembic commands ###

Expand Down
2 changes: 1 addition & 1 deletion api/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ class Site(db.Model):
default_language = db.Column(db.String(255), nullable=False)
copyright = db.Column(db.String(255))
privacy_policy = db.Column(db.String(255))
show_workflow_steps = db.Column(db.Boolean, nullable=False, server_default=db.text('false'))
show_workflow_steps = db.Column(db.Boolean, nullable=False, server_default=db.text('true'))
custom_disclaimer = db.Column(db.String(255), nullable=True)
customize_domain = db.Column(db.String(255))
customize_token_strategy = db.Column(db.String(255), nullable=False)
Expand Down

0 comments on commit 765feff

Please sign in to comment.