<reponame>balexander85/django-contact<filename>contact/migrations/0001_initial.py
# Generated by Django 2.1 on 2018-08-24 22:27

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="Contact",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.CharField(max_length=50)),
                ("email", models.EmailField(max_length=50)),
                ("phone", models.CharField(blank=True, max_length=50, null=True)),
                ("message", models.CharField(max_length=1000)),
                (
                    "contact_date",
                    models.DateTimeField(
                        auto_now_add=True, verbose_name="contact_date"
                    ),
                ),
            ],
        ),
    ]
