# Generated by Django 2.1.5 on 2020-11-03 15:38

from django.db import migrations, models
import django.utils.timezone
import webapp.utils


class Migration(migrations.Migration):

    dependencies = [
        ('webapp', '0071_auto_20201006_1749'),
    ]

    operations = [
        migrations.CreateModel(
            name='JobAd',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255)),
                ('title_fi', models.CharField(max_length=255, null=True)),
                ('title_en', models.CharField(max_length=255, null=True)),
                ('description', models.CharField(max_length=255)),
                ('description_fi', models.CharField(max_length=255, null=True)),
                ('description_en', models.CharField(max_length=255, null=True)),
                ('content', models.TextField()),
                ('content_fi', models.TextField(null=True)),
                ('content_en', models.TextField(null=True)),
                ('visible', models.BooleanField(default=True)),
                ('created_at', models.DateTimeField(default=django.utils.timezone.now)),
                ('autohide_at', models.DateTimeField(default=webapp.utils.month_from_now)),
                ('autohide_enabled', models.BooleanField(default=False)),
            ],
            options={
                'verbose_name': 'JobAd',
                'verbose_name_plural': 'JobAds',
            },
        ),
    ]
