Skip to content
Snippets Groups Projects
Commit bbe467e2 authored by Jure's avatar Jure
Browse files

Bio -> Job migration for user model

parent 0e48469f
No related branches found
No related tags found
1 merge request!14Bio -> Job migration for user model
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-04-16 11:57
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('djangoldp_profile', '0002_auto_20190917_1141'),
]
operations = [
migrations.RenameField(
model_name='profile',
old_name='bio',
new_name='job',
),
]
...@@ -11,7 +11,7 @@ class Profile(Model): ...@@ -11,7 +11,7 @@ class Profile(Model):
user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name="profile") user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name="profile")
slug = models.SlugField(unique=True) slug = models.SlugField(unique=True)
available = models.NullBooleanField(blank=True) available = models.NullBooleanField(blank=True)
bio = models.CharField(max_length=150, blank=True) job = models.CharField(max_length=150, blank=True)
city = models.CharField(max_length=255, blank=True) city = models.CharField(max_length=255, blank=True)
phone = models.CharField(max_length=255, blank=True) phone = models.CharField(max_length=255, blank=True)
website = models.URLField(blank=True) website = models.URLField(blank=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment