Skip to content
Permalink
Browse files

Committing migration files

  • Loading branch information...
chrismaddalena committed Oct 1, 2019
1 parent 0fe97e5 commit d9afa0003c29bada8005f014a293135b9b34afeb
@@ -270,7 +270,6 @@ ghostwriter/media/
.idea/
.env
.envs/*
migrations

# SSL certificates
ssl/*.crt
@@ -0,0 +1,31 @@
# Generated by Django 2.2.3 on 2019-08-22 15:07

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('reporting', '0001_initial'),
]

operations = [
migrations.CreateModel(
name='LocalFindingNote',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('timestamp', models.DateField(auto_now_add=True, help_text='Creation timestamp', max_length=100, verbose_name='Timestamp')),
('note', models.TextField(blank=True, help_text='Use this area to add a note to this finding - it can be anything you want others to see/know about the finding', null=True, verbose_name='Notes')),
('finding', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='reporting.ReportFindingLink')),
('operator', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'Local finding note',
'verbose_name_plural': 'Local finding notes',
'ordering': ['finding', '-timestamp'],
},
),
]
@@ -0,0 +1,31 @@
# Generated by Django 2.2.3 on 2019-08-22 15:40

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('reporting', '0002_localfindingnote'),
]

operations = [
migrations.CreateModel(
name='FindingNote',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('timestamp', models.DateField(auto_now_add=True, help_text='Creation timestamp', max_length=100, verbose_name='Timestamp')),
('note', models.TextField(blank=True, help_text='Use this area to add a note to this finding - it can be anything you want others to see/know about the finding', null=True, verbose_name='Notes')),
('finding', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='reporting.Finding')),
('operator', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'Local finding note',
'verbose_name_plural': 'Local finding notes',
'ordering': ['finding', '-timestamp'],
},
),
]
@@ -0,0 +1,18 @@
# Generated by Django 2.2.3 on 2019-08-27 18:51

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('reporting', '0003_findingnote'),
]

operations = [
migrations.AddField(
model_name='report',
name='delivered',
field=models.BooleanField(default=False, help_text='Delivery status of the report', verbose_name='Delivered'),
),
]
@@ -0,0 +1,18 @@
# Generated by Django 2.2.3 on 2019-08-28 00:07

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('reporting', '0004_report_delivered'),
]

operations = [
migrations.AddField(
model_name='reportfindinglink',
name='finding_guidance',
field=models.TextField(blank=True, help_text='Provide notes for your team that describes how the finding is intended to be used and any details that should be provided during editing', null=True, verbose_name='Finding Guidance'),
),
]
@@ -0,0 +1,42 @@
# Generated by Django 2.2.3 on 2019-08-27 20:15

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('rolodex', '0001_initial'),
]

operations = [
migrations.CreateModel(
name='ObjectiveStatus',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('objective_status', models.CharField(help_text='Enter an objective status (e.g. Active, On Hold)', max_length=100, unique=True, verbose_name='Objective Status')),
],
options={
'verbose_name': 'Objective status',
'verbose_name_plural': 'Objective statuses',
'ordering': ['objective_status'],
},
),
migrations.CreateModel(
name='ProjectObjective',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('objective', models.TextField(blank=True, help_text='Provide a concise objective', null=True, verbose_name='Objective')),
('complete', models.BooleanField(default=False, help_text='Mark the objective as complete', verbose_name='Completed')),
('deadline', models.DateField(help_text='Provide a deadline for this objective', max_length=100, verbose_name='Due Date')),
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='rolodex.Project')),
('status', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='rolodex.ObjectiveStatus')),
],
options={
'verbose_name': 'Project objective',
'verbose_name_plural': 'Project objectives',
'ordering': ['project', 'complete', 'objective'],
},
),
]
@@ -0,0 +1,17 @@
# Generated by Django 2.2.3 on 2019-08-28 00:07

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('rolodex', '0002_objectivestatus_projectobjective'),
]

operations = [
migrations.AlterModelOptions(
name='projectobjective',
options={'ordering': ['project', 'complete', 'deadline', 'status', 'objective'], 'verbose_name': 'Project objective', 'verbose_name_plural': 'Project objectives'},
),
]
@@ -0,0 +1,19 @@
# Generated by Django 2.2.3 on 2019-09-10 01:13

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('rolodex', '0003_auto_20190828_0007'),
]

operations = [
migrations.AlterField(
model_name='projectobjective',
name='status',
field=models.ForeignKey(help_text='Set the initial status for this objective', on_delete=django.db.models.deletion.PROTECT, to='rolodex.ObjectiveStatus'),
),
]
@@ -0,0 +1,29 @@
# Generated by Django 2.2.3 on 2019-08-24 04:01

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('shepherd', '0002_auto_20190726_1841'),
]

operations = [
migrations.AlterField(
model_name='domain',
name='domain_status',
field=models.ForeignKey(default=1, help_text="The domain's current status - set to Available in most cases, or set to Reserved if it should not be used yet", null=True, on_delete=django.db.models.deletion.PROTECT, to='shepherd.DomainStatus'),
),
migrations.AlterField(
model_name='domain',
name='health_status',
field=models.ForeignKey(default=1, help_text="The domain's current health status - set to Healthy if you are not sure and assumed the domain is ready to be used", null=True, on_delete=django.db.models.deletion.PROTECT, to='shepherd.HealthStatus'),
),
migrations.AlterField(
model_name='domain',
name='whois_status',
field=models.ForeignKey(default=1, help_text="The domain's WHOIS privacy status - you want this to be Enabled with your registrar", null=True, on_delete=django.db.models.deletion.PROTECT, to='shepherd.WhoisStatus'),
),
]
@@ -0,0 +1,27 @@
# Generated by Django 2.2.3 on 2019-09-10 01:13

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('shepherd', '0003_auto_20190824_0401'),
]

operations = [
migrations.AlterModelOptions(
name='transientserver',
options={'ordering': ['project', 'server_provider', 'ip_address', 'server_role', 'name'], 'verbose_name': 'Virtual private server', 'verbose_name_plural': 'Virtual private servers'},
),
migrations.AddField(
model_name='staticserver',
name='name',
field=models.CharField(blank=True, help_text="Enter the server's name (typically hostname)", max_length=100, null=True, verbose_name='Name'),
),
migrations.AddField(
model_name='transientserver',
name='name',
field=models.CharField(blank=True, help_text="Enter the server's name (typically hostname)", max_length=100, null=True, verbose_name='Name'),
),
]
@@ -0,0 +1,24 @@
# Generated by Django 2.2.3 on 2019-10-01 13:52

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('shepherd', '0004_auto_20190910_0113'),
]

operations = [
migrations.AlterField(
model_name='serverhistory',
name='activity_type',
field=models.ForeignKey(help_text='Select the intended activity to be performed by the server', on_delete=django.db.models.deletion.PROTECT, to='shepherd.ActivityType'),
),
migrations.AlterField(
model_name='serverhistory',
name='server_role',
field=models.ForeignKey(help_text='Select the intended role the server will play', on_delete=django.db.models.deletion.PROTECT, to='shepherd.ServerRole'),
),
]
@@ -0,0 +1,19 @@
# Generated by Django 2.2.3 on 2019-10-01 13:53

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('shepherd', '0005_auto_20191001_1352'),
]

operations = [
migrations.AlterField(
model_name='history',
name='activity_type',
field=models.ForeignKey(help_text='Select the intended use of this domain', on_delete=django.db.models.deletion.PROTECT, to='shepherd.ActivityType'),
),
]

0 comments on commit d9afa00

Please sign in to comment.
You can’t perform that action at this time.