<filename>apps/jobs/migrations/0001_initial.py
# Generated by Django 2.0.6 on 2018-10-31 07:57

import ckeditor.fields
import datetime
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('entity', '__first__'),
    ]

    operations = [
        migrations.CreateModel(
            name='Job',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=50)),
                ('location', models.CharField(max_length=50)),
                ('short_description', models.TextField(default='', max_length=150)),
                ('description', ckeditor.fields.RichTextField(max_length=3500)),
                ('contact_email', models.EmailField(max_length=254)),
                ('contact_phone', models.CharField(max_length=15, validators=[django.core.validators.RegexValidator(message='A phone number can only contain numbers.', regex='^[0-9]*$')])),
                ('date_posted', models.DateTimeField(default=datetime.datetime(2018, 10, 31, 7, 57, 20, 451093, tzinfo=utc))),
                ('expiry', models.DateTimeField(default=datetime.datetime(2018, 11, 14, 7, 57, 20, 451093, tzinfo=utc))),
                ('external_link', models.CharField(blank=True, default=None, max_length=2072)),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='entity.Company')),
            ],
        ),
    ]

<filename>apps/jobs/migrations/0001_initial.py
# Generated by Django 2.0.6 on 2018-10-31 07:57

import ckeditor.fields
import datetime
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('entity', '__first__'),
    ]

    operations = [
        migrations.CreateModel(
            name='Job',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=50)),
                ('location', models.CharField(max_length=50)),
                ('short_description', models.TextField(default='', max_length=150)),
                ('description', ckeditor.fields.RichTextField(max_length=3500)),
                ('contact_email', models.EmailField(max_length=254)),
                ('contact_phone', models.CharField(max_length=15, validators=[django.core.validators.RegexValidator(message='A phone number can only contain numbers.', regex='^[0-9]*$')])),
                ('date_posted', models.DateTimeField(default=datetime.datetime(2018, 10, 31, 7, 57, 20, 451093, tzinfo=utc))),
                ('expiry', models.DateTimeField(default=datetime.datetime(2018, 11, 14, 7, 57, 20, 451093, tzinfo=utc))),
                ('external_link', models.CharField(blank=True, default=None, max_length=2072)),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='entity.Company')),
            ],
        ),
    ]

# Generated by Django 2.0.6 on 2018-10-31 07:57