# Generated by Django 1.11.12 on 2018-09-05 14:36

import django.contrib.postgres.fields.jsonb
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('csvdatasource', '0010_auto_20170920_0951'),
    ]

    operations = [
        migrations.CreateModel(
            name='TableRow',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('line_number', models.IntegerField()),
                ('data', django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=dict)),
            ],
            options={
                'ordering': ('line_number',),
            },
        ),
        migrations.AddField(
            model_name='tablerow',
            name='resource',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE, to='csvdatasource.CsvDataSource'
            ),
        ),
    ]
