0001_initial.py 977 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.10.7 on 2017-07-30 02:02
  3. from __future__ import unicode_literals
  4. from django.conf import settings
  5. from django.db import migrations, models
  6. import django.db.models.deletion
  7. class Migration(migrations.Migration):
  8. initial = True
  9. dependencies = [
  10. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  11. ]
  12. operations = [
  13. migrations.CreateModel(
  14. name='Puntaje_Encuesta',
  15. fields=[
  16. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  17. ('punto', models.CharField(default='-', max_length=500, verbose_name='punto evaluado')),
  18. ('puntuacion', models.IntegerField(default=-1, verbose_name='puntuacion')),
  19. ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='Usuario')),
  20. ],
  21. ),
  22. ]