Commit 1a6bb9ab authored by Florent Chehab's avatar Florent Chehab

Moved everything to new models !

parent 7cfe87b2
# Generated by Django 2.0.3 on 2018-08-26 13:56
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('backend', '0015_auto_20180826_1127'),
]
operations = [
migrations.RenameField(
model_name='previousdeparturefeedback',
old_name='user',
new_name='owner',
),
migrations.RenameField(
model_name='recommendation',
old_name='user',
new_name='owner',
),
migrations.RenameField(
model_name='recommendationlist',
old_name='user',
new_name='owner',
),
migrations.RenameField(
model_name='userdata',
old_name='user',
new_name='owner',
),
migrations.RemoveField(
model_name='campus',
name='updated_at',
),
migrations.RemoveField(
model_name='campusaccommodation',
name='updated_at',
),
migrations.RemoveField(
model_name='campuscultureandstudentlife',
name='updated_at',
),
migrations.RemoveField(
model_name='campusotherstuff',
name='updated_at',
),
migrations.RemoveField(
model_name='campustransport',
name='updated_at',
),
migrations.RemoveField(
model_name='cityotherstuff',
name='updated_at',
),
migrations.RemoveField(
model_name='cityphoto',
name='updated_at',
),
migrations.RemoveField(
model_name='citytourism',
name='updated_at',
),
migrations.RemoveField(
model_name='citytransport',
name='updated_at',
),
migrations.RemoveField(
model_name='countryculture',
name='updated_at',
),
migrations.RemoveField(
model_name='countrydri',
name='updated_at',
),
migrations.RemoveField(
model_name='countryhealthinsurance',
name='updated_at',
),
migrations.RemoveField(
model_name='countryotherinsurance',
name='updated_at',
),
migrations.RemoveField(
model_name='countryotherstuff',
name='updated_at',
),
migrations.RemoveField(
model_name='countryphoto',
name='updated_at',
),
migrations.RemoveField(
model_name='countryscholarship',
name='updated_at',
),
migrations.RemoveField(
model_name='countrytourism',
name='updated_at',
),
migrations.RemoveField(
model_name='countrytransport',
name='updated_at',
),
migrations.RemoveField(
model_name='countryvisaadministrative',
name='updated_at',
),
migrations.RemoveField(
model_name='universitycourses',
name='updated_at',
),
migrations.RemoveField(
model_name='universityculture',
name='updated_at',
),
migrations.RemoveField(
model_name='universitydri',
name='updated_at',
),
migrations.RemoveField(
model_name='universityinfo',
name='updated_at',
),
migrations.RemoveField(
model_name='universityinsurance',
name='updated_at',
),
migrations.RemoveField(
model_name='universityotherstuff',
name='updated_at',
),
migrations.RemoveField(
model_name='universityphoto',
name='updated_at',
),
migrations.RemoveField(
model_name='universityscholarship',
name='updated_at',
),
migrations.RemoveField(
model_name='universitysemestersdates',
name='updated_at',
),
migrations.RemoveField(
model_name='universityspecialoffer',
name='updated_at',
),
migrations.AddField(
model_name='campus',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='campus',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campus',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campusaccommodation',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='campusaccommodation',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campusaccommodation',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campuscultureandstudentlife',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='campuscultureandstudentlife',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campuscultureandstudentlife',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campusotherstuff',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='campusotherstuff',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campusotherstuff',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campustransport',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='campustransport',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='campustransport',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='city',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='city',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='city',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='city',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='cityotherstuff',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='cityotherstuff',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='cityotherstuff',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='cityphoto',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='cityphoto',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='cityphoto',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='citytourism',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='citytourism',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='citytourism',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='citytransport',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='citytransport',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='citytransport',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='country',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='country',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='country',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='country',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryculture',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryculture',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryculture',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countrydri',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countrydri',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countrydri',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryhealthinsurance',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryhealthinsurance',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryhealthinsurance',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryotherinsurance',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryotherinsurance',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryotherinsurance',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryotherstuff',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryotherstuff',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryotherstuff',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryphoto',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryphoto',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryphoto',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryscholarship',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryscholarship',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryscholarship',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countrytourism',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countrytourism',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countrytourism',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countrytransport',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countrytransport',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countrytransport',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryvisaadministrative',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='countryvisaadministrative',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='countryvisaadministrative',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='currency',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='currency',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='currency',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='currency',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='department',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='department',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='department',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='department',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='offer',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='offer',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='offer',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='offer',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='previousdeparture',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='previousdeparture',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='previousdeparture',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='previousdeparture',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='previousdeparturefeedback',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='previousdeparturefeedback',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='previousdeparturefeedback',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='previousdeparturefeedback',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='recommendation',
name='moderated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='recommendation',
name='moderated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='recommendation',
name='updated_by',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='recommendation',
name='updated_on',
field=models.DateTimeField(null=True),
),
migrations.AddField(
model_name='recommendationlist',