Adding migrations to git

doc_update
Joey Hines 2019-01-14 08:05:01 -06:00
parent 118b578b06
commit 08c281e363
4 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# Generated by Django 2.1.2 on 2018-12-29 22:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('GeoffreyApp', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='player',
name='discord_uuid',
field=models.CharField(max_length=50, unique=True),
),
migrations.AlterField(
model_name='player',
name='mc_uuid',
field=models.CharField(max_length=36, unique=True),
),
migrations.AlterField(
model_name='player',
name='name',
field=models.CharField(max_length=30, unique=True),
),
]

View File

@ -0,0 +1,21 @@
# 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.util.create_token, max_length=25, unique=True)),
('name', models.CharField(blank=True, max_length=50)),
],
),
]

View File

@ -0,0 +1,17 @@
# Generated by Django 2.1.2 on 2018-12-30 01:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('GeoffreyApp', '0003_apitoken'),
]
operations = [
migrations.AddField(
model_name='apitoken',
name='commands_perm',
field=models.BooleanField(default=False),
),
]

View File

@ -0,0 +1,23 @@
# Generated by Django 2.1.2 on 2019-01-13 22:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('GeoffreyApp', '0004_apitoken_commands_perm'),
]
operations = [
migrations.AddField(
model_name='itemlisting',
name='date_restocked',
field=models.DateTimeField(auto_now=True),
),
migrations.AlterField(
model_name='tunnel',
name='tunnel_direction',
field=models.CharField(choices=[('N', 'North'), ('E', 'East'), ('S', 'South'), ('W', 'West')],
max_length=1),
),
]