Commit 99f8d783 authored by Florent Chehab's avatar Florent Chehab
Browse files

App renamed from rex to backend to be clearer

parent 55e35f6d
# Generated by Django 2.0.3 on 2018-08-21 19:38
from django.conf import settings
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
import rex.models.tools.usefullLinksField
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('rex', '0029_auto_20180821_2110'),
]
operations = [
migrations.CreateModel(
name='UserData',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('is_anonymous', models.BooleanField(default=True)),
('is_public', models.BooleanField(default=False)),
('contact_info', rex.models.tools.usefullLinksField.UsefullLinksField(default=[], null=True, validators=[rex.models.tools.usefullLinksField.validate_usefull_links])),
('contact_info_is_public', models.BooleanField(default=False)),
('config', django.contrib.postgres.fields.jsonb.JSONField(default={}, null=True)),
('other_data', django.contrib.postgres.fields.jsonb.JSONField(default={}, null=True)),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
options={
'abstract': False,
},
),
migrations.AddField(
model_name='previousdeparturefeedback',
name='is_anonymous',
field=models.BooleanField(default=True),
),
migrations.AddField(
model_name='previousdeparturefeedback',
name='is_public',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='recommendation',
name='is_anonymous',
field=models.BooleanField(default=True),
),
migrations.AddField(
model_name='recommendation',
name='is_public',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='recommendationlist',
name='is_anonymous',
field=models.BooleanField(default=True),
),
migrations.AddField(
model_name='recommendationlist',
name='is_public',
field=models.BooleanField(default=False),
),
migrations.AlterField(
model_name='countryphoto',
name='country',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='country_photos', to='rex.Country'),
),
migrations.AlterField(
model_name='universityphoto',
name='university',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='university_photos', to='rex.University'),
),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment