Commit 7c3d0a1a authored by okhin's avatar okhin
Browse files

Adding migration for importer

parent ff7abd46
Pipeline #93 failed with stage
in 54 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-08-07 17:20
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('campaign', '0003_auto_20160807_1603'),
('organization', '0003_auto_20160807_1603'),
operations = [
('id', models.AutoField(primary_key=True, serialize=False)),
('name', models.CharField(max_length=64)),
('data_format', models.CharField(choices=[('JSON', 'json'), ('CSV', 'csv')], max_length=4)),
('file', models.FileField(blank=True, null=True, upload_to='imports/')),
('url', models.URLField(blank=True, null=True)),
('last_count', models.IntegerField(blank=True, null=True)),
('last_imported', models.IntegerField(blank=True, null=True)),
('campaign', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='campaign.Campaign')),
('organization', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organization.Organization')),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment