text: # Generated by Django 2.1.8 on 2019-06-07 14:09
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('rooms', '0012_auto_20190607_2259'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Review',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('create_time', models.DateTimeField(auto_now_add=True)),
                  ('update_time', models.DateTimeField(auto_now=True)),
                  ('message', models.TextField()),
                  ('creator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'abstract': False,
              },
          ),
          migrations.RemoveField(
              model_name='comment',
              name='creator',
          ),
          migrations.RemoveField(
              model_name='comment',
              name='room',
          ),
          migrations.AlterField(
              model_name='room',
              name='host',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.DeleteModel(
              name='Comment',
          ),
          migrations.AddField(
              model_name='review',
              name='room',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='reviews', to='rooms.Room'),
          ),
      ]
  