Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
c0d73486
Commit
c0d73486
authored
Dec 17, 2014
by
Gero Müller
Browse files
fix migration
(transplanted from ad6797117b84145d9671b48b670ba05fd52fbbb0)
parent
1352eaf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/models/alembic/versions/43c7de99ad41_fix_credentials.py
View file @
c0d73486
...
...
@@ -17,10 +17,12 @@ import sqlalchemy as sa
def
upgrade
():
op
.
alter_column
(
u
'workspace'
,
u
'login_credencials'
,
new_column_name
=
u
'login_credentials'
)
new_column_name
=
u
'login_credentials'
,
existing_type
=
sa
.
Boolean
())
def
downgrade
():
op
.
alter_column
(
u
'workspace'
,
u
'login_credentials'
,
new_column_name
=
u
'login_credencials'
)
new_column_name
=
u
'login_credencials'
,
existing_type
=
sa
.
Boolean
())
Write
Preview
Markdown
is supported
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