"Fossies" - the Fresh Open Source Software Archive

Member "seahub-7.1.0-pro/seahub/related_files/migrations/0001_initial.py" (30 Dec 2019, 802 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.15 on 2018-11-23 03:32
    3 
    4 
    5 from django.db import migrations, models
    6 import django.db.models.deletion
    7 
    8 
    9 class Migration(migrations.Migration):
   10 
   11     initial = True
   12 
   13     dependencies = [
   14         ('tags', '0001_initial'),
   15     ]
   16 
   17     operations = [
   18         migrations.CreateModel(
   19             name='RelatedFiles',
   20             fields=[
   21                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
   22                 ('o_uuid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='o_uuid', to='tags.FileUUIDMap')),
   23                 ('r_uuid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='r_uuid', to='tags.FileUUIDMap')),
   24             ],
   25         ),
   26     ]