Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat: new migrations due to simple-history package upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 27, 2023
1 parent 9b703e4 commit 5ba931c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions registrar/apps/core/migrations/0015_alter_user_first_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.21 on 2023-09-27 13:40

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('core', '0014_usergroup'),
]

operations = [
migrations.AlterField(
model_name='user',
name='first_name',
field=models.CharField(blank=True, max_length=150, verbose_name='first name'),
),
]
3 changes: 3 additions & 0 deletions registrar/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,6 @@
# How long (in seconds) we keep program details from Discovery in the cache.
# Defaults to 24 hours.
PROGRAM_CACHE_TIMEOUT = 60 * 60 * 24

# disable indexing on history_date
SIMPLE_HISTORY_DATE_INDEX = False

0 comments on commit 5ba931c

Please sign in to comment.