"Fossies" - the Fresh Open Source Software Archive

Member "seahub-7.1.0-pro/seahub/role_permissions/migrations/0001_initial.py" (30 Dec 2019, 536 Bytes) of package /linux/www/seahub-7.1.0-pro.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # -*- coding: utf-8 -*-
    2 
    3 
    4 from django.db import migrations, models
    5 
    6 
    7 class Migration(migrations.Migration):
    8 
    9     dependencies = [
   10     ]
   11 
   12     operations = [
   13         migrations.CreateModel(
   14             name='AdminRole',
   15             fields=[
   16                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
   17                 ('email', models.EmailField(unique=True, max_length=254, db_index=True)),
   18                 ('role', models.CharField(max_length=255)),
   19             ],
   20         ),
   21     ]