text: # Generated by Django 3.2.9 on 2021-11-28 17:37
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Room',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=40, unique=True)),
                  ('users', models.ManyToManyField(help_text='users that are connected', to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Message',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('timestamp', models.DateTimeField(auto_now_add=True)),
                  ('content', models.CharField(max_length=500)),
                  ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                  ('room', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='chat.room')),
              ],
          ),
      ]
  