Commit 1a62ed61 authored by Nicolas Mérigot's avatar Nicolas Mérigot

improvement: add migration

parent c7db674e
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-11-24 14:04
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('djangoldp_skill', '0001_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='JobOffer',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(blank=True, max_length=255, null=True)),
('description', models.CharField(blank=True, max_length=255, null=True)),
('creationDate', models.DateField(auto_now_add=True)),
('closingDate', models.DateField(blank=True, null=True)),
('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
('skills', models.ManyToManyField(blank=True, to='djangoldp_skill.Skill')),
],
options={
'permissions': (('view_joboffer', 'Read'), ('control_joboffer', 'Control')),
},
),
]
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