# Generated by Django 2.1.7 on 2020-12-15 17:02

import company.models
import django.contrib.postgres.fields
from django.db import migrations, models
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0095_auto_20201214_1239'),
    ]

    operations = [
        migrations.AddField(
            model_name='news',
            name='desc',
            field=models.CharField(default='', max_length=500, verbose_name='描述'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='news',
            name='news_from',
            field=models.CharField(default='', max_length=300, verbose_name='来源'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='news',
            name='poster',
            field=models.ImageField(blank=True, null=True, upload_to=company.models.company_upload_page_poster, verbose_name='导图'),
        ),
        migrations.AddField(
            model_name='news',
            name='pub_date',
            field=models.DateField(default=django.utils.timezone.now, verbose_name='文章时间'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='news',
            name='tm',
            field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now, verbose_name='添加时间'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='page_banners',
            name='sort_id',
            field=models.SmallIntegerField(blank=True, default=0, null=True, verbose_name='排序'),
        ),
        migrations.AddField(
            model_name='terminalregister',
            name='lng_lat',
            field=django.contrib.postgres.fields.ArrayField(base_field=models.DecimalField(decimal_places=8, max_digits=12, verbose_name='经纬度'), blank=True, null=True, size=None),
        ),
        migrations.AlterField(
            model_name='page_banners',
            name='image',
            field=models.ImageField(blank=True, null=True, upload_to=company.models.company_upload_page_banners, verbose_name='轮播图'),
        ),
    ]
