Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add is_ticket_form_enabled field (#5934)
- Loading branch information
1 parent
eae8525
commit fdf1bd4
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
"""empty message | ||
Revision ID: 0e80c49a6e28 | ||
Revises: 6f7b6fad3f54 | ||
Create Date: 2019-05-20 21:56:44.770504 | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '0e80c49a6e28' | ||
down_revision = '6f7b6fad3f54' | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('events', sa.Column('is_ticket_form_enabled', sa.Boolean(), server_default='True', nullable=False)) | ||
op.add_column('events_version', sa.Column('is_ticket_form_enabled', sa.Boolean(), server_default='True', nullable=False)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('events_version', 'is_ticket_form_enabled') | ||
op.drop_column('events', 'is_ticket_form_enabled') | ||
# ### end Alembic commands ### |