forked from GithubBackups/healthchecks
Remove Profile.current_project field. Fixes #336
This commit is contained in:
parent
dd3820c0d5
commit
8bbf85a397
@ -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',
|
||||||
|
),
|
||||||
|
]
|
@ -53,7 +53,6 @@ class Profile(models.Model):
|
|||||||
ping_log_limit = models.IntegerField(default=100)
|
ping_log_limit = models.IntegerField(default=100)
|
||||||
check_limit = models.IntegerField(default=20)
|
check_limit = models.IntegerField(default=20)
|
||||||
token = models.CharField(max_length=128, blank=True)
|
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)
|
last_sms_date = models.DateTimeField(null=True, blank=True)
|
||||||
sms_limit = models.IntegerField(default=5)
|
sms_limit = models.IntegerField(default=5)
|
||||||
sms_sent = models.IntegerField(default=0)
|
sms_sent = models.IntegerField(default=0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user