profiles_api.migrations.0002_profilefeeditem   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 16
dl 0
loc 24
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
# Generated by Django 1.11 on 2018-07-12 10:51
3
from __future__ import unicode_literals
4
5
from django.conf import settings
6
from django.db import migrations, models
7
import django.db.models.deletion
8
9
10
class Migration(migrations.Migration):
11
12
    dependencies = [
13
        ('profiles_api', '0001_initial'),
14
    ]
15
16
    operations = [
17
        migrations.CreateModel(
18
            name='ProfileFeedItem',
19
            fields=[
20
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
21
                ('status_text', models.CharField(max_length=255)),
22
                ('created_on', models.DateTimeField(auto_now_add=True)),
23
                ('user_profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
24
            ],
25
        ),
26
    ]
27