From dbd4b740b58ce53bacade1cac43480594a139467 Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Sun, 20 Nov 2016 23:57:18 -0800 Subject: [PATCH] improve townie schema --- .../migrations/0002_townie_displayname.py | 21 ++++++++++++++++ .../migrations/0003_auto_20161121_0734.py | 25 +++++++++++++++++++ .../migrations/0004_auto_20161121_0755.py | 24 ++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 ttadmin/users/migrations/0002_townie_displayname.py create mode 100644 ttadmin/users/migrations/0003_auto_20161121_0734.py create mode 100644 ttadmin/users/migrations/0004_auto_20161121_0755.py diff --git a/ttadmin/users/migrations/0002_townie_displayname.py b/ttadmin/users/migrations/0002_townie_displayname.py new file mode 100644 index 0000000..6aeaf32 --- /dev/null +++ b/ttadmin/users/migrations/0002_townie_displayname.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.2 on 2016-11-21 07:13 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='townie', + name='displayname', + field=models.TextField(default=''), + preserve_default=False, + ), + ] diff --git a/ttadmin/users/migrations/0003_auto_20161121_0734.py b/ttadmin/users/migrations/0003_auto_20161121_0734.py new file mode 100644 index 0000000..3a86b91 --- /dev/null +++ b/ttadmin/users/migrations/0003_auto_20161121_0734.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.2 on 2016-11-21 07:34 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0002_townie_displayname'), + ] + + operations = [ + migrations.AlterField( + model_name='townie', + name='displayname', + field=models.CharField(max_length=100), + ), + migrations.AlterField( + model_name='townie', + name='shell', + field=models.CharField(default='/bin/bash', max_length=50), + ), + ] diff --git a/ttadmin/users/migrations/0004_auto_20161121_0755.py b/ttadmin/users/migrations/0004_auto_20161121_0755.py new file mode 100644 index 0000000..c8ce9ab --- /dev/null +++ b/ttadmin/users/migrations/0004_auto_20161121_0755.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.2 on 2016-11-21 07:55 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0003_auto_20161121_0734'), + ] + + operations = [ + migrations.RemoveField( + model_name='townie', + name='pending', + ), + migrations.AddField( + model_name='townie', + name='reviewed', + field=models.BooleanField(default=False), + ), + ]