collapsing all of dr_botzo one directory

This commit is contained in:
2017-02-04 11:48:55 -06:00
parent 38d14bb0d2
commit cd23f062a9
194 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='StorycraftGame',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('game_length', models.PositiveSmallIntegerField()),
('line_length', models.PositiveSmallIntegerField()),
('lines_per_turn', models.PositiveSmallIntegerField()),
('status', models.CharField(max_length=16, choices=[('OPEN', 'OPEN'), ('IN PROGRESS', 'IN PROGRESS'), ('COMPLETED', 'COMPLETED')])),
('owner_nick', models.CharField(max_length=64)),
('owner_nickmask', models.CharField(max_length=200)),
('start_time', models.DateTimeField()),
('end_time', models.DateTimeField()),
],
),
migrations.CreateModel(
name='StorycraftLine',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('line', models.TextField(default='')),
('time', models.DateTimeField(auto_now_add=True)),
('game', models.ForeignKey(to='storycraft.StorycraftGame')),
],
),
migrations.CreateModel(
name='StorycraftPlayer',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nick', models.CharField(max_length=64)),
('nickmask', models.CharField(max_length=200)),
('game', models.ForeignKey(to='storycraft.StorycraftGame')),
],
),
migrations.AddField(
model_name='storycraftline',
name='player',
field=models.ForeignKey(to='storycraft.StorycraftPlayer'),
),
]

View File

@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('storycraft', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='storycraftgame',
name='end_time',
field=models.DateTimeField(null=True),
),
migrations.AlterField(
model_name='storycraftgame',
name='start_time',
field=models.DateTimeField(null=True),
),
]

View File

@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('storycraft', '0002_auto_20150619_2034'),
]
operations = [
migrations.AlterField(
model_name='storycraftgame',
name='status',
field=models.CharField(default='OPEN', max_length=16, choices=[('OPEN', 'OPEN'), ('IN PROGRESS', 'IN PROGRESS'), ('COMPLETED', 'COMPLETED')]),
),
]

View File

@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('storycraft', '0003_auto_20150619_2038'),
]
operations = [
migrations.AlterField(
model_name='storycraftline',
name='game',
field=models.ForeignKey(related_name='lines', to='storycraft.StorycraftGame'),
),
migrations.AlterField(
model_name='storycraftline',
name='player',
field=models.ForeignKey(related_name='lines', to='storycraft.StorycraftPlayer'),
),
migrations.AlterField(
model_name='storycraftplayer',
name='game',
field=models.ForeignKey(related_name='players', to='storycraft.StorycraftGame'),
),
]

View File

@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
from django.db import models, migrations
import datetime
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('storycraft', '0004_auto_20150619_2040'),
]
operations = [
migrations.AddField(
model_name='storycraftgame',
name='create_time',
field=models.DateTimeField(default=datetime.datetime(2015, 6, 20, 1, 51, 18, 778824, tzinfo=utc), auto_now_add=True),
preserve_default=False,
),
]

View File