0001_initial.py 800 Bytes
Newer Older
Wietse Kuipers's avatar
Wietse Kuipers committed
1
# -*- coding: utf-8 -*-
Thom Wiggers's avatar
Thom Wiggers committed
2
# Generated by Django 1.10 on 2016-11-09 18:56
Wietse Kuipers's avatar
Wietse Kuipers committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
Thom Wiggers's avatar
Thom Wiggers committed
20
            name='Token',
Wietse Kuipers's avatar
Wietse Kuipers committed
21
22
23
24
25
26
27
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('token', models.CharField(max_length=64)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]