forked from GithubBackups/healthchecks
Remove Profile.bill_to field.
This commit is contained in:
parent
63c70d67c6
commit
5ef67e8bbf
@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Don't send monthly reports to inactive accounts (no pings in 6 months)
|
||||
- Add search box in the "My Checks" page
|
||||
- Add read-only API key support
|
||||
- Remove Profile.bill_to field (obsolete)
|
||||
|
||||
### Bug Fixes
|
||||
- During DST transition, handle ambiguous dates as pre-transition
|
||||
|
@ -28,8 +28,7 @@ class ProfileFieldset(Fieldset):
|
||||
class TeamFieldset(Fieldset):
|
||||
name = "Team"
|
||||
fields = ("team_name", "team_limit", "check_limit",
|
||||
"ping_log_limit", "sms_limit", "sms_sent", "last_sms_date",
|
||||
"bill_to")
|
||||
"ping_log_limit", "sms_limit", "sms_sent", "last_sms_date")
|
||||
|
||||
|
||||
@admin.register(Profile)
|
||||
|
17
hc/accounts/migrations/0016_remove_profile_bill_to.py
Normal file
17
hc/accounts/migrations/0016_remove_profile_bill_to.py
Normal file
@ -0,0 +1,17 @@
|
||||
# Generated by Django 2.1.2 on 2018-11-06 08:17
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('accounts', '0015_auto_20181029_1858'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='profile',
|
||||
name='bill_to',
|
||||
),
|
||||
]
|
@ -54,7 +54,6 @@ class Profile(models.Model):
|
||||
api_key = models.CharField(max_length=128, blank=True)
|
||||
api_key_readonly = models.CharField(max_length=128, blank=True)
|
||||
current_team = models.ForeignKey("self", models.SET_NULL, null=True)
|
||||
bill_to = models.TextField(blank=True)
|
||||
last_sms_date = models.DateTimeField(null=True, blank=True)
|
||||
sms_limit = models.IntegerField(default=0)
|
||||
sms_sent = models.IntegerField(default=0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user