summaryrefslogtreecommitdiff
path: root/app/resume/migrations/0004_job_resume.py
blob: e056fec21353102d8df526dbc946113b8fbdfa61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Generated by Django 2.1.1 on 2019-01-12 12:45

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('resume', '0003_auto_20151211_1925'),
    ]

    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=200)),
                ('employer', models.CharField(max_length=200)),
                ('date_start', models.DateField(verbose_name='Date Start')),
                ('date_end', models.DateField(blank=True, null=True, verbose_name='Date End')),
                ('body_markdown', models.TextField(blank=True, null=True)),
            ],
            options={
                'ordering': ('-date_end',),
            },
        ),
        migrations.CreateModel(
            name='Resume',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=200)),
                ('profile', models.TextField()),
                ('skills', models.TextField()),
                ('experience', models.ManyToManyField(to='resume.Job')),
            ],
        ),
    ]