Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
cfa69fc0
Commit
cfa69fc0
authored
Mar 04, 2021
by
Guilhem Saurel
Browse files
ferrum
parent
f125c962
Pipeline
#13334
failed with stage
in 1 minute and 18 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Pipfile.lock
View file @
cfa69fc0
This diff is collapsed.
Click to expand it.
rainboard/migrations/0053_ferrum.py
0 → 100644
View file @
cfa69fc0
# Generated by Django 3.0.13 on 2021-03-04 12:28
from
django.db
import
migrations
def
erbium_to_ferrum
(
apps
,
schema_editor
):
Target
=
apps
.
get_model
(
'rainboard'
,
'Target'
)
Target
.
objects
.
filter
(
name
=
'erbium'
).
update
(
active
=
False
)
Target
.
objects
.
create
(
name
=
'ferrum'
)
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0052_centos7'
),
]
operations
=
[
migrations
.
RunPython
(
erbium_to_ferrum
),
]
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