text: # Copyright The IETF Trust 2020, All Rights Reserved
  # -*- coding: utf-8 -*-
  # Generated by Django 1.11.29 on 2020-03-19 13:56
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  import ietf.utils.models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('name', '0013_add_auth48_docurltagname'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='ExtResourceName',
              fields=[
                  ('slug', models.CharField(max_length=32, primary_key=True, serialize=False)),
                  ('name', models.CharField(max_length=255)),
                  ('desc', models.TextField(blank=True)),
                  ('used', models.BooleanField(default=True)),
                  ('order', models.IntegerField(default=0)),
              ],
              options={
                  'ordering': ['order', 'name'],
                  'abstract': False,
              },
          ),
          migrations.CreateModel(
              name='ExtResourceTypeName',
              fields=[
                  ('slug', models.CharField(max_length=32, primary_key=True, serialize=False)),
                  ('name', models.CharField(max_length=255)),
                  ('desc', models.TextField(blank=True)),
                  ('used', models.BooleanField(default=True)),
                  ('order', models.IntegerField(default=0)),
              ],
              options={
                  'ordering': ['order', 'name'],
                  'abstract': False,
              },
          ),
          migrations.AddField(
              model_name='extresourcename',
              name='type',
              field=ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='name.ExtResourceTypeName'),
          ),
      ]
  