# Generated by Django 2.1.5 on 2019-02-18 22:51

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('hyperion', '0005_auto_20190212_2116'),
    ]

    operations = [
        migrations.RenameField(
            model_name='post',
            old_name='visibleTo',
            new_name='visible_to',
        ),
        migrations.AddField(
            model_name='post',
            name='content_type',
            field=models.CharField(choices=[('1', 'text/plain'), ('2', 'text/markdown'), ('3', 'image/png;base64'), ('4', 'image/jpeg;base64'), ('5', 'application/base64')], default='1', max_length=1),
        ),
        migrations.AddField(
            model_name='post',
            name='visibility',
            field=models.CharField(choices=[('1', 'PUBLIC'), ('2', 'FOAF'), ('3', 'FRIENDS'), ('4', 'PRIVATE'), ('5', 'SERVERONLY')], default='1', max_length=1),
        ),
        migrations.AlterField(
            model_name='comment',
            name='author',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='hyperion.UserProfile'),
        ),
    ]

[((269, 360), 'django.db.migrations.RenameField', 'migrations.RenameField', ([], {'model_name': '"""post"""', 'old_name': '"""visibleTo"""', 'new_name': '"""visible_to"""'}), "(model_name='post', old_name='visibleTo', new_name=\n    'visible_to')\n", (291, 360), False, 'from django.db import migrations, models\n'), ((515, 705), 'django.db.models.CharField', 'models.CharField', ([], {'choices': "[('1', 'text/plain'), ('2', 'text/markdown'), ('3', 'image/png;base64'), (\n    '4', 'image/jpeg;base64'), ('5', 'application/base64')]", 'default': '"""1"""', 'max_length': '(1)'}), "(choices=[('1', 'text/plain'), ('2', 'text/markdown'), ('3',\n    'image/png;base64'), ('4', 'image/jpeg;base64'), ('5',\n    'application/base64')], default='1', max_length=1)\n", (531, 705), False, 'from django.db import migrations, models\n'), ((819, 965), 'django.db.models.CharField', 'models.CharField', ([], {'choices': "[('1', 'PUBLIC'), ('2', 'FOAF'), ('3', 'FRIENDS'), ('4', 'PRIVATE'), ('5',\n    'SERVERONLY')]", 'default': '"""1"""', 'max_length': '(1)'}), "(choices=[('1', 'PUBLIC'), ('2', 'FOAF'), ('3', 'FRIENDS'),\n    ('4', 'PRIVATE'), ('5', 'SERVERONLY')], default='1', max_length=1)\n", (835, 965), False, 'from django.db import migrations, models\n'), ((1084, 1203), 'django.db.models.ForeignKey', 'models.ForeignKey', ([], {'on_delete': 'django.db.models.deletion.CASCADE', 'related_name': '"""comments"""', 'to': '"""hyperion.UserProfile"""'}), "(on_delete=django.db.models.deletion.CASCADE, related_name\n    ='comments', to='hyperion.UserProfile')\n", (1101, 1203), False, 'from django.db import migrations, models\n')]