mirror of https://github.com/interlegis/sapl.git
Browse Source
Este campo permite que se se use o comando do haystack ./manage.py update_index --age=2 para indexar somente os registros que foram modificados nas ultimas duas horas.pull/1276/head
Edward
8 years ago
committed by
GitHub
5 changed files with 70 additions and 1 deletions
@ -0,0 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.11 on 2017-07-12 09:51 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('materia', '0008_auto_20170622_1527'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='documentoacessorio', |
|||
name='data_ultima_atualizacao', |
|||
field=models.DateTimeField(auto_now=True, null=True, verbose_name='Data'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='materialegislativa', |
|||
name='data_ultima_atualizacao', |
|||
field=models.DateTimeField(auto_now=True, null=True, verbose_name='Data'), |
|||
), |
|||
] |
@ -0,0 +1,20 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.11 on 2017-07-12 09:51 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('norma', '0005_merge'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='normajuridica', |
|||
name='data_ultima_atualizacao', |
|||
field=models.DateTimeField(auto_now=True, null=True, verbose_name='Data'), |
|||
), |
|||
] |
Loading…
Reference in new issue