class Migration(migrations.Migration): dependencies = [ ('comments', '0003_deletecomment'), ] operations = [ migrations.CreateModel( name='ReportComment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('reporter', models.CharField(max_length=115)), ('timestamp', models.DateTimeField(auto_now_add=True)), ('reason', models.CharField(max_length=415, validators=[comments.models.validate_reason ])), ('done', models.BooleanField()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(blank=True, max_length=255)), ('content', models.TextField(blank=True)), ('date_added', models.DateField(default=datetime.date.today)), ('alcohol', comments.models.FloatRangeField(default=0.0)), ('nudity', comments.models.FloatRangeField(default=0.0)), ('LGBTQ', comments.models.FloatRangeField(default=0.0)), ('sex', comments.models.FloatRangeField(default=0.0)), ('language', comments.models.FloatRangeField(default=0.0)), ('violence', comments.models.FloatRangeField(default=0.0)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('user', models.CharField(max_length=115)), ('timestamp', models.DateTimeField(auto_now_add=True)), ('content', models.CharField(max_length=1800, validators=[comments.models.validate_content])), ('likes', models.IntegerField(default=0)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('comments', '0008_auto_20200711_1700'), ] operations = [ migrations.CreateModel( name='DeleteReply', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('deleted_by', models.CharField(max_length=115)), ('timestamp', models.DateTimeField(auto_now_add=True)), ('reason', models.CharField(max_length=415, validators=[comments.models.validate_reason ])), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(blank=True, upload_to='photos/%Y/%m/%d')), ('content', models.CharField( blank=True, max_length=140, validators=[comments.validation.validate_content])), ('updated', models.DateTimeField(blank=True, default=datetime.datetime.now)), ('timestamp', models.DateTimeField(blank=True, default=datetime.datetime.now)), ('comments', djongo.models.fields.ArrayModelField( blank=True, model_container=comments.models.comment, null=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment_id', models.IntegerField(default=comments.models.comment.ids, unique=True)), ('messages', models.CharField(blank=True, max_length=140)), ('time', models.DateTimeField(auto_now=True)), ('no_of_like', models.IntegerField(blank=True)), ('likes', djongo.models.fields.ArrayModelField( blank=True, model_container=comments.models.like, null=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]