|
@@ -0,0 +1,26 @@
|
|
1
|
+"""Add calendar_enabled column to Workspace
|
|
2
|
+
|
|
3
|
+Revision ID: 534c4594ed29
|
|
4
|
+Revises: da12239d9da0
|
|
5
|
+Create Date: 2016-05-31 13:02:28.301984
|
|
6
|
+
|
|
7
|
+"""
|
|
8
|
+
|
|
9
|
+# revision identifiers, used by Alembic.
|
|
10
|
+revision = '534c4594ed29'
|
|
11
|
+down_revision = 'da12239d9da0'
|
|
12
|
+
|
|
13
|
+from alembic import op
|
|
14
|
+import sqlalchemy as sa
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+def upgrade():
|
|
18
|
+ ### commands auto generated by Alembic - please adjust! ###
|
|
19
|
+ op.add_column('workspaces', sa.Column('calendar_enabled', sa.Boolean(), nullable=False))
|
|
20
|
+ ### end Alembic commands ###
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+def downgrade():
|
|
24
|
+ ### commands auto generated by Alembic - please adjust! ###
|
|
25
|
+ op.drop_column('workspaces', 'calendar_enabled')
|
|
26
|
+ ### end Alembic commands ###
|