Skip to content
GitLab
Menu
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
7e5eb7ad
Commit
7e5eb7ad
authored
Sep 14, 2021
by
Guilhem Saurel
Browse files
the main distribution is now 20.04
parent
6e141b58
Pipeline
#16046
passed with stage
in 9 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/migrations/0064_main_focal.py
0 → 100644
View file @
7e5eb7ad
# Generated by Django 3.2.7 on 2021-09-14 12:07
from
django.db
import
migrations
def
main_focal
(
apps
,
schema_editor
):
Target
=
apps
.
get_model
(
'rainboard'
,
'Target'
)
Target
.
objects
.
filter
(
name
=
'18.04'
).
update
(
main
=
False
)
Target
.
objects
.
filter
(
name
=
'20.04'
).
update
(
main
=
True
)
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0063_alter_project_clang_format'
),
]
operations
=
[
migrations
.
RunPython
(
main_focal
),
]
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