class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Experience', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('modified', models.DateTimeField(auto_now=True)), ('app', models.CharField(choices=[('home', 'home'), ('arcade', 'arcade'), ('office', 'office'), ('community', 'community'), ('studio', 'studio'), ('academy', 'academy'), ('journey', 'journey')], max_length=10, verbose_name='app')), ('level', models.IntegerField(verbose_name='level')), ('amount', models.IntegerField(verbose_name='amount')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), ]
class Migration(migrations.Migration): dependencies = [ ('users', '0013_auto_20170810_1727'), ('journey', '0004_auto_20170911_1508'), ] operations = [ migrations.CreateModel( name='Demon', fields=[ ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('owner', annoying.fields.AutoOneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='demon', serialize=False, to=settings.AUTH_USER_MODEL)), ('content', colegend.core.fields.MarkdownField()), ], options={ 'verbose_name': 'Demon', 'default_related_name': 'demon', 'verbose_name_plural': 'Demons', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), ]
class Migration(migrations.Migration): dependencies = [ ('users', '0014_user_status'), ('studio', '0003_auto_20170731_1131'), ] operations = [ migrations.CreateModel( name='Chapter', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('title', models.TextField(verbose_name='scope')), ('content', colegend.core.fields.MarkdownField()), ], options={ 'verbose_name_plural': 'Chapters', 'default_related_name': 'chapters', 'verbose_name': 'Chapter', }, ), migrations.CreateModel( name='Story', fields=[ ('owner', annoying.fields.AutoOneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='story', serialize=False, to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name_plural': 'Stories', 'default_related_name': 'story', 'verbose_name': 'Story', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.AddField( model_name='chapter', name='story', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='chapters', to='studio.Story'), ), ]
class Migration(migrations.Migration): dependencies = [ ('tags', '0001_initial'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('journals', '0009_auto_20170605_1631'), ] operations = [ migrations.CreateModel( name='JournalEntry', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('modified', models.DateTimeField(auto_now=True)), ('scope', models.CharField(choices=[('day', 'day'), ('week', 'week'), ('month', 'month'), ('year', 'year')], default='day', max_length=5, verbose_name='scope')), ('start', models.DateField(verbose_name='start')), ('content', colegend.core.fields.MarkdownField()), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='journal_entries', to=settings.AUTH_USER_MODEL)), ('tags', models.ManyToManyField(blank=True, related_name='journal_entries', to='tags.Tag')), ], options={ 'ordering': ['-start'], 'verbose_name_plural': 'Journal entries', 'verbose_name': 'Journal Entry', 'get_latest_by': 'start', 'default_related_name': 'journal_entries', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.AlterUniqueTogether( name='journalentry', unique_together=set([('owner', 'scope', 'start')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('checkpoints', '0002_auto_20160118_2151'), ('users', '0022_auto_20180707_0023'), ] operations = [ migrations.CreateModel( name='UserCheckpoint', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('checkpoint', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='checkpoints.Checkpoint')), ], options={ 'abstract': False, }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.RemoveField( model_name='user', name='checkpoints', ), migrations.AddField( model_name='user', name='checkpoints', field=models.ManyToManyField(blank=True, related_name='users', through='users.UserCheckpoint', to='checkpoints.Checkpoint'), ), migrations.AddField( model_name='usercheckpoint', name='owner', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Donation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('modified', models.DateTimeField(auto_now=True)), ('date', models.DateField(verbose_name='date')), ('amount', models.DecimalField(decimal_places=2, help_text='¤', max_digits=6, verbose_name='amount')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'default_related_name': 'donations', 'verbose_name': 'donation', 'verbose_name_plural': 'donations', }, bases=(colegend.core.models.AutoUrlsMixin, colegend.core.models.OwnedCheckMixin, models.Model), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('academy', '0002_book'), ] operations = [ migrations.CreateModel( name='BookReview', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('rating', models.PositiveSmallIntegerField(verbose_name='rating')), ('area_1', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 1')), ('area_2', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 2')), ('area_3', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 3')), ('area_4', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 4')), ('area_5', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 5')), ('area_6', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 6')), ('area_7', models.PositiveSmallIntegerField(validators=[django.core.validators.MaxValueValidator(100)], verbose_name='area 7')), ('content', colegend.core.fields.MarkdownField()), ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='book_reviews', to='academy.Book')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='book_reviews', to=settings.AUTH_USER_MODEL)), ], options={ 'default_related_name': 'book_reviews', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.AlterUniqueTogether( name='bookreview', unique_together=set([('owner', 'book')]), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('journey', '0024_hero_topics'), ] operations = [ migrations.CreateModel( name='Tension', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('name', models.CharField(max_length=255, verbose_name='name')), ('content', colegend.core.fields.MarkdownField(blank=True, verbose_name='content')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='tensions', to=settings.AUTH_USER_MODEL)), ], options={ 'default_related_name': 'tensions', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.AlterField( model_name='demon', name='content', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='content'), ), migrations.AlterField( model_name='demon', name='fears', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='fears'), ), migrations.AlterField( model_name='demon', name='name', field=models.CharField(default='Demon', max_length=255, verbose_name='name'), ), migrations.AlterField( model_name='demon', name='tensions', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='tensions'), ), migrations.AlterField( model_name='hero', name='achievements', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='achievements'), ), migrations.AlterField( model_name='hero', name='blueprint_day', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='day blueprint'), ), migrations.AlterField( model_name='hero', name='blueprint_month', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='month blueprint'), ), migrations.AlterField( model_name='hero', name='blueprint_week', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='week blueprint'), ), migrations.AlterField( model_name='hero', name='bucket', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='bucket list'), ), migrations.AlterField( model_name='hero', name='content', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='content'), ), migrations.AlterField( model_name='hero', name='experiments', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='experiments'), ), migrations.AlterField( model_name='hero', name='goals', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='goals'), ), migrations.AlterField( model_name='hero', name='habits', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='habits'), ), migrations.AlterField( model_name='hero', name='inspirations', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='inspirations'), ), migrations.AlterField( model_name='hero', name='mission', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='mission'), ), migrations.AlterField( model_name='hero', name='name', field=models.CharField(default='Hero', max_length=255, verbose_name='name'), ), migrations.AlterField( model_name='hero', name='people', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='people'), ), migrations.AlterField( model_name='hero', name='powers', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='powers'), ), migrations.AlterField( model_name='hero', name='principles', field=colegend.core.fields.MarkdownField( blank=True, verbose_name='principles'), ), migrations.AlterField( model_name='hero', name='projects', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='projects'), ), migrations.AlterField( model_name='hero', name='questions', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='questions'), ), migrations.AlterField( model_name='hero', name='resources', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='resources'), ), migrations.AlterField( model_name='hero', name='roles', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='roles'), ), migrations.AlterField( model_name='hero', name='routines', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='routines'), ), migrations.AlterField( model_name='hero', name='skills', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='skills'), ), migrations.AlterField( model_name='hero', name='strategy', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='strategy'), ), migrations.AlterField( model_name='hero', name='topics', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='topics'), ), migrations.AlterField( model_name='hero', name='values', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='values'), ), migrations.AlterField( model_name='hero', name='vision', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='vision'), ), migrations.AlterField( model_name='hero', name='wishes', field=colegend.core.fields.MarkdownField(blank=True, verbose_name='wishes'), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('home', '0005_habitspage_statspage'), ] operations = [ migrations.CreateModel( name='Scan', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('date', models.DateField(default=django.utils.timezone.now, verbose_name='date')), ('area_1', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 1')), ('area_2', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 2')), ('area_3', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 3')), ('area_4', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 4')), ('area_5', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 5')), ('area_6', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 6')), ('area_7', models.PositiveSmallIntegerField(validators=[ django.core.validators.MaxValueValidator(100) ], verbose_name='area 7')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='scans', to=settings.AUTH_USER_MODEL)), ], options={ 'ordering': ['-date'], 'verbose_name': 'scan', 'verbose_name_plural': 'scans', 'default_related_name': 'scans', 'get_latest_by': 'date', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.AlterUniqueTogether( name='scan', unique_together=set([('owner', 'date')]), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('home', '0006_auto_20171127_1538'), ] operations = [ migrations.CreateModel( name='Habit', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('name', models.CharField(max_length=255, verbose_name='name')), ('scope', colegend.scopes.models.ScopeField(choices=[('day', 'day'), ('week', 'week'), ('month', 'month'), ('year', 'year')], default='day', max_length=5, verbose_name='scope')), ('icon', models.CharField(max_length=255, verbose_name='icon')), ('content', colegend.core.fields.MarkdownField(verbose_name='content')), ('duration', colegend.core.intuitive_duration.modelfields.IntuitiveDurationField(blank=True, null=True, verbose_name='duration')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='habits', to=settings.AUTH_USER_MODEL)), ], options={ 'default_related_name': 'habits', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.CreateModel( name='HabitReminder', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('time', models.DateField(verbose_name='date')), ('habit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='reminders', to='home.Habit')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='reminders', to=settings.AUTH_USER_MODEL)), ], options={ 'default_related_name': 'reminders', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.CreateModel( name='HabitTrackEvent', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('habit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='track_events', to='home.Habit')), ], options={ 'default_related_name': 'track_events', }, ), migrations.CreateModel( name='Routine', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('name', models.CharField(max_length=255, verbose_name='name')), ('scope', colegend.scopes.models.ScopeField(choices=[('day', 'day'), ('week', 'week'), ('month', 'month'), ('year', 'year')], default='day', max_length=5, verbose_name='scope')), ('content', colegend.core.fields.MarkdownField(verbose_name='content')), ], options={ 'default_related_name': 'routines', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.CreateModel( name='RoutineHabit', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveIntegerField(db_index=True, editable=False)), ('habit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='home.Habit')), ('routine', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='home.Routine')), ], options={ 'ordering': ('routine', 'order'), }, ), migrations.AddField( model_name='routine', name='habits', field=models.ManyToManyField(related_name='routines', through='home.RoutineHabit', to='home.Habit'), ), migrations.AddField( model_name='routine', name='owner', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='routines', to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('journey', '0021_auto_20180405_0314'), ] operations = [ migrations.CreateModel( name='Quest', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveIntegerField(db_index=True, editable=False)), ('name', models.CharField(max_length=255, verbose_name='name')), ('video_url', models.URLField(blank=True, max_length=1000, verbose_name='video url')), ('content', colegend.core.fields.MarkdownField(verbose_name='content')), ], options={ 'default_related_name': 'quests', }, ), migrations.CreateModel( name='QuestObjective', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveIntegerField(db_index=True, editable=False)), ('name', models.CharField(max_length=255, verbose_name='name')), ('code', models.CharField(max_length=255, verbose_name='name')), ('quest', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='objectives', to='journey.Quest')), ], options={ 'default_related_name': 'objectives', }, ), migrations.CreateModel( name='UserQuestStatus', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('modified', models.DateTimeField(auto_now=True)), ('completed_objectives', models.ManyToManyField(related_name='quest_statuses', to='journey.QuestObjective')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='quest_statuses', to=settings.AUTH_USER_MODEL)), ('quest', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='quest_statuses', to='journey.Quest')), ], options={ 'default_related_name': 'quest_statuses', }, bases=(colegend.core.models.OwnedCheckMixin, models.Model), ), migrations.AlterUniqueTogether( name='userqueststatus', unique_together={('owner', 'quest')}, ), ]