Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
67ec10a9
Commit
67ec10a9
authored
Apr 10, 2017
by
Administrator
Browse files
Do not allow NULL on protocol.done
parent
d403aeba
Changes
1
Hide whitespace changes
Inline
Side-by-side
migrations/versions/4e472894cc70_.py
0 → 100644
View file @
67ec10a9
"""empty message
Revision ID: 4e472894cc70
Revises: 6a86c1d5682f
Create Date: 2017-04-10 17:40:19.149529
"""
from
alembic
import
op
import
sqlalchemy
as
sa
# revision identifiers, used by Alembic.
revision
=
'4e472894cc70'
down_revision
=
'6a86c1d5682f'
branch_labels
=
None
depends_on
=
None
def
upgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
alter_column
(
'protocols'
,
'done'
,
existing_type
=
sa
.
BOOLEAN
(),
nullable
=
False
)
# ### end Alembic commands ###
def
downgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
alter_column
(
'protocols'
,
'done'
,
existing_type
=
sa
.
BOOLEAN
(),
nullable
=
True
)
# ### end Alembic commands ###
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment