diff --git a/hc/accounts/migrations/0029_remove_profile_current_project.py b/hc/accounts/migrations/0029_remove_profile_current_project.py new file mode 100644 index 00000000..e4a43637 --- /dev/null +++ b/hc/accounts/migrations/0029_remove_profile_current_project.py @@ -0,0 +1,17 @@ +# Generated by Django 3.0.1 on 2020-03-02 07:56 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('accounts', '0028_auto_20191119_1346'), + ] + + operations = [ + migrations.RemoveField( + model_name='profile', + name='current_project', + ), + ] diff --git a/hc/accounts/models.py b/hc/accounts/models.py index c5a889b0..ed42dfe7 100644 --- a/hc/accounts/models.py +++ b/hc/accounts/models.py @@ -53,7 +53,6 @@ class Profile(models.Model): ping_log_limit = models.IntegerField(default=100) check_limit = models.IntegerField(default=20) token = models.CharField(max_length=128, blank=True) - current_project = models.ForeignKey("Project", models.SET_NULL, null=True) last_sms_date = models.DateTimeField(null=True, blank=True) sms_limit = models.IntegerField(default=5) sms_sent = models.IntegerField(default=0)