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
da317835
Commit
da317835
authored
Apr 29, 2021
by
Guilhem Saurel
Browse files
Django 3.2
parent
683e4c66
Changes
2
Hide whitespace changes
Inline
Side-by-side
rainboard/migrations/0055_nullbooleanfield.py
0 → 100644
View file @
da317835
# Generated by Django 3.2 on 2021-04-29 15:07
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0054_robotpkg_extended_target'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'cibuild'
,
name
=
'passed'
,
field
=
models
.
BooleanField
(
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'cijob'
,
name
=
'passed'
,
field
=
models
.
BooleanField
(
null
=
True
),
),
]
rainboard/models.py
View file @
da317835
...
...
@@ -976,7 +976,7 @@ class Image(models.Model):
class
CIBuild
(
models
.
Model
):
repo
=
models
.
ForeignKey
(
Repo
,
on_delete
=
models
.
CASCADE
)
passed
=
models
.
Null
BooleanField
()
passed
=
models
.
BooleanField
(
null
=
True
)
build_id
=
models
.
PositiveIntegerField
()
started
=
models
.
DateTimeField
()
branch
=
models
.
ForeignKey
(
Branch
,
on_delete
=
models
.
CASCADE
)
...
...
@@ -993,7 +993,7 @@ class CIBuild(models.Model):
class
CIJob
(
models
.
Model
):
repo
=
models
.
ForeignKey
(
Repo
,
on_delete
=
models
.
CASCADE
)
passed
=
models
.
Null
BooleanField
()
passed
=
models
.
BooleanField
(
null
=
True
)
job_id
=
models
.
PositiveIntegerField
()
started
=
models
.
DateTimeField
()
branch
=
models
.
ForeignKey
(
Branch
,
on_delete
=
models
.
CASCADE
)
...
...
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