1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
7 class Migration(migrations.Migration):
10 ('contenttypes', '0001_initial'),
14 migrations.CreateModel(
17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('object_id', models.IntegerField()),
19 ('slug', models.SlugField(max_length=120, verbose_name='Slug', blank=True)),
20 ('category', models.CharField(db_index=True, max_length=64, null=True, blank=True)),
21 ('created_at', models.DateTimeField(editable=False, db_index=True)),
22 ('deleted_at', models.DateTimeField(auto_now_add=True, db_index=True)),
23 ('content_type', models.ForeignKey(to='contenttypes.ContentType')),
27 bases=(models.Model,),
29 migrations.AlterUniqueTogether(
31 unique_together=set([('content_type', 'object_id')]),