mirror of https://github.com/interlegis/sapl.git
LeandroRoberto
9 years ago
3 changed files with 99 additions and 0 deletions
@ -0,0 +1,33 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
import datetime |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
from django.utils.timezone import utc |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('compilacao', '0021_auto_20151119_1617'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='publicacao', |
||||
|
name='timestamp', |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='publicacao', |
||||
|
name='created', |
||||
|
field=models.DateTimeField(verbose_name='created', auto_now_add=True, default=datetime.datetime(2015, 11, 20, 17, 3, 45, 347063, tzinfo=utc)), |
||||
|
preserve_default=False, |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='publicacao', |
||||
|
name='modified', |
||||
|
field=models.DateTimeField(verbose_name='modified', default=datetime.datetime(2015, 11, 20, 17, 3, 51, 67108, tzinfo=utc), auto_now=True), |
||||
|
preserve_default=False, |
||||
|
), |
||||
|
] |
@ -0,0 +1,29 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
import datetime |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
from django.utils.timezone import utc |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('compilacao', '0022_auto_20151120_1503'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name='vide', |
||||
|
name='created', |
||||
|
field=models.DateTimeField(verbose_name='created', auto_now_add=True, default=datetime.datetime(2015, 11, 20, 17, 29, 27, 32283, tzinfo=utc)), |
||||
|
preserve_default=False, |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='vide', |
||||
|
name='modified', |
||||
|
field=models.DateTimeField(verbose_name='modified', auto_now=True, default=datetime.datetime(2015, 11, 20, 17, 29, 31, 856683, tzinfo=utc)), |
||||
|
preserve_default=False, |
||||
|
), |
||||
|
] |
@ -0,0 +1,37 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
import datetime |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
from django.utils.timezone import utc |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('compilacao', '0023_auto_20151120_1529'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='nota', |
||||
|
name='data_criacao', |
||||
|
), |
||||
|
migrations.RemoveField( |
||||
|
model_name='vide', |
||||
|
name='data_criacao', |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='nota', |
||||
|
name='created', |
||||
|
field=models.DateTimeField(auto_now_add=True, default=datetime.datetime(2015, 11, 20, 20, 13, 57, 385520, tzinfo=utc), verbose_name='created'), |
||||
|
preserve_default=False, |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='nota', |
||||
|
name='modified', |
||||
|
field=models.DateTimeField(auto_now=True, default=datetime.datetime(2015, 11, 20, 20, 14, 3, 360297, tzinfo=utc), verbose_name='modified'), |
||||
|
preserve_default=False, |
||||
|
), |
||||
|
] |
Loading…
Reference in new issue