Commit 7c06120d authored by Lukas Burgey's avatar Lukas Burgey

Perform migration

parent ca506c71
# Generated by Django 2.1 on 2018-10-29 14:20
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('backend', '0009_auto_20180821_1529'),
]
operations = [
migrations.CreateModel(
name='CredentialState',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('state', models.CharField(choices=[('deployed', 'Deployed'), ('not_deployed', 'Not deployed')], default='not_deployed', max_length=50)),
('credential', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='credential_states', to='backend.SSHPublicKey')),
('target', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='credential_states', to='backend.NewDeploymentStateItem')),
],
),
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment