# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-08-16 02:52
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='BaseExperiment',
            fields=[
                ('bid', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(max_length=512)),
                ('type', models.CharField(max_length=128)),
                ('created_time', models.DateTimeField(auto_now_add=True)),
                ('created_user', models.CharField(max_length=128)),
                ('start_time', models.DateField(default=django.utils.timezone.now)),
                ('is_active', models.BooleanField(default=False)),
            ],
        ),
        migrations.CreateModel(
            name='Experiment',
            fields=[
                ('eid', models.AutoField(primary_key=True, serialize=False)),
                ('classroom', models.CharField(max_length=256)),
                ('data', models.DateField()),
                ('time', models.CharField(max_length=128)),
                ('base', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='experience', to='experiment.BaseExperiment')),
            ],
        ),
    ]
