Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kontr 2.0
Portal API Backend
Commits
8af23ea7
Verified
Commit
8af23ea7
authored
Apr 13, 2019
by
Peter Stanko
Browse files
Removed unnecessary migrations
parent
3ace4573
Pipeline
#31376
passed with stage
in 7 minutes and 21 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
migrations/versions/949bc914e571_.py
deleted
100644 → 0
View file @
3ace4573
"""empty message
Revision ID: 949bc914e571
Revises: 6347503cdaef
Create Date: 2019-03-31 17:50:21.196715
"""
from
alembic
import
op
import
sqlalchemy
as
sa
# revision identifiers, used by Alembic.
revision
=
'949bc914e571'
down_revision
=
'f21d6efeef88'
branch_labels
=
None
depends_on
=
None
def
upgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
add_column
(
'reviewItem'
,
sa
.
Column
(
'version_id'
,
sa
.
Integer
(),
nullable
=
False
))
# ### end Alembic commands ###
def
downgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
drop_column
(
'reviewItem'
,
'version_id'
)
# ### end Alembic commands ###
migrations/versions/b7f7f426d205_.py
View file @
8af23ea7
...
...
@@ -11,7 +11,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision
=
'b7f7f426d205'
down_revision
=
'
ced9d1234d00
'
down_revision
=
'
f21d6efeef88
'
branch_labels
=
None
depends_on
=
None
...
...
migrations/versions/ced9d1234d00_.py
deleted
100644 → 0
View file @
3ace4573
"""empty message
Revision ID: ced9d1234d00
Revises: 949bc914e571
Create Date: 2019-03-31 20:21:59.038371
"""
from
alembic
import
op
import
sqlalchemy
as
sa
# revision identifiers, used by Alembic.
revision
=
'ced9d1234d00'
down_revision
=
'949bc914e571'
branch_labels
=
None
depends_on
=
None
def
upgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
drop_column
(
'reviewItem'
,
'version_id'
)
# ### end Alembic commands ###
def
downgrade
():
# ### commands auto generated by Alembic - please adjust! ###
op
.
add_column
(
'reviewItem'
,
sa
.
Column
(
'version_id'
,
sa
.
INTEGER
(),
autoincrement
=
False
,
nullable
=
False
))
# ### end Alembic commands ###
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment