23 lines
693 B
Python
23 lines
693 B
Python
|
# Generated by Django 2.1.2 on 2018-12-29 22:28
|
||
|
|
||
|
import GeoffreyApp.util
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
dependencies = [
|
||
|
('GeoffreyApp', '0002_auto_20181229_2216'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='APIToken',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
(
|
||
|
'key', models.CharField(default=GeoffreyApp.GeoffreyApp.util.create_token, max_length=25, unique=True)),
|
||
|
('name', models.CharField(blank=True, max_length=50)),
|
||
|
],
|
||
|
),
|
||
|
]
|