text: # Generated by Django 2.1.5 on 2019-01-16 18:22
  
  import django.db.models.deletion
  from django.conf import settings
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ("core", "0001_initial"),
      ]
  
      operations = [
          migrations.CreateModel(
              name="Tag",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("name", models.CharField(max_length=50)),
                  (
                      "user",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          to=settings.AUTH_USER_MODEL,
                      ),
                  ),
              ],
          ),
          migrations.AddField(
              model_name="piece",
              name="tags",
              field=models.ManyToManyField(related_name="pieces", to="core.Tag"),
          ),
      ]
  