Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proto3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
protokollsystem
proto3
Commits
67ec10a9
Commit
67ec10a9
authored
8 years ago
by
Administrator
Browse files
Options
Downloads
Patches
Plain Diff
Do not allow NULL on protocol.done
parent
d403aeba
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
migrations/versions/4e472894cc70_.py
+32
-0
32 additions, 0 deletions
migrations/versions/4e472894cc70_.py
with
32 additions
and
0 deletions
migrations/versions/4e472894cc70_.py
0 → 100644
+
32
−
0
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 ###
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment