text: # Generated by Django 3.2.4 on 2021-09-17 18:02
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('main', '0008_delete_sala'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Sala',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('code', models.CharField(default='0', max_length=9, unique=True)),
                  ('d_criacao', models.DateTimeField(auto_now_add=True)),
              ],
          ),
          migrations.AddField(
              model_name='user',
              name='sala',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='sala', to='main.sala'),
          ),
      ]
  