mybuddy/core/migrations/0002_timer_user.py

25 lines
695 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-08-17 18:26
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('core', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='timer',
name='user',
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='timers', to=settings.AUTH_USER_MODEL),
preserve_default=False,
),
]