Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
3433a45e
Commit
3433a45e
authored
Feb 20, 2020
by
Lukas Burgey
Browse files
Add new migration
parent
5e6a0d4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/migrations/0015_auto_20200220_1628.py
0 → 100644
View file @
3433a45e
# Generated by Django 3.0.3 on 2020-02-20 15:28
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'backend'
,
'0014_auto_20200213_1129'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'deploymentstate'
,
name
=
'failed_attempts'
,
field
=
models
.
PositiveSmallIntegerField
(
default
=
0
),
),
migrations
.
AlterField
(
model_name
=
'credentialstate'
,
name
=
'state'
,
field
=
models
.
CharField
(
choices
=
[(
'deployment_pending'
,
'Deployment Pending'
),
(
'removal_pending'
,
'Removal Pending'
),
(
'deployed'
,
'Deployed'
),
(
'not_deployed'
,
'Not Deployed'
),
(
'questionnaire'
,
'Questionnaire'
),
(
'failed'
,
'Failed'
),
(
'failed_permanently'
,
'Failed permanently'
),
(
'rejected'
,
'Rejected'
)],
default
=
'not_deployed'
,
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'deploymentstate'
,
name
=
'state'
,
field
=
models
.
CharField
(
choices
=
[(
'deployment_pending'
,
'Deployment Pending'
),
(
'removal_pending'
,
'Removal Pending'
),
(
'deployed'
,
'Deployed'
),
(
'not_deployed'
,
'Not Deployed'
),
(
'questionnaire'
,
'Questionnaire'
),
(
'failed'
,
'Failed'
),
(
'failed_permanently'
,
'Failed permanently'
),
(
'rejected'
,
'Rejected'
)],
default
=
'not_deployed'
,
max_length
=
50
),
),
]
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