"Fossies" - the Fresh Open Source Software Archive

Member "seahub-7.1.0-pro/seahub/base/migrations/0002_reposecretkey.py" (30 Dec 2019, 629 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 # Generated by Django 1.11.11 on 2018-07-10 09:33
    3 
    4 
    5 from django.db import migrations, models
    6 
    7 
    8 class Migration(migrations.Migration):
    9 
   10     dependencies = [
   11         ('base', '0001_initial'),
   12     ]
   13 
   14     operations = [
   15         migrations.CreateModel(
   16             name='RepoSecretKey',
   17             fields=[
   18                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
   19                 ('repo_id', models.CharField(db_index=True, max_length=36, unique=True)),
   20                 ('secret_key', models.CharField(max_length=44)),
   21             ],
   22         ),
   23     ]