# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2018-03-09 11:00
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('backoffice', '0047_user_android'),
    ]

    operations = [
        migrations.CreateModel(
            name='PlacesVote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('note', models.FloatField(blank=True, default=0, null=True)),
                ('createdAt', models.DateTimeField(auto_now=True)),
                ('updatedAt', models.DateTimeField(auto_now=True)),
                ('refPlace', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='backoffice.Place')),
                ('refUser', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
