2019-01-14 14:05:01 +00:00
|
|
|
# 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')),
|
2019-05-11 01:29:44 +00:00
|
|
|
(
|
2019-05-12 16:23:59 +00:00
|
|
|
'key', models.CharField(default=GeoffreyApp.util.create_token, max_length=25, unique=True)),
|
2019-01-14 14:05:01 +00:00
|
|
|
('name', models.CharField(blank=True, max_length=50)),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|