# Generated by Django 5.0.2 on 2024-08-29 09:01

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('backend', '0044_alter_brand_name_alter_customer_name_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='Permissions',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(max_length=255, verbose_name='对应模块名称')),
                ('content_type_id', models.IntegerField(default=0, verbose_name='所属分类id')),
                ('codename', models.CharField(max_length=100, verbose_name='权限名称')),
            ],
            options={
                'verbose_name': '权限表',
                'verbose_name_plural': '权限表',
                'db_table': 'auth_permissions',
            },
        ),
        migrations.RenameModel(
            old_name='aa',
            new_name='UserPermissions',
        ),
    ]
