Coverage for django_napse/core/migrations/0007_historydatapoint_created_at.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-12 13:49 +0000

1# Generated by Django 4.2.6 on 2023-10-23 19:44 

2 

3from django.db import migrations, models 

4import django.utils.timezone 

5 

6 

7class Migration(migrations.Migration): 

8 

9 dependencies = [ 

10 ('django_napse_core', '0006_alter_exchangeaccount_name'), 

11 ] 

12 

13 operations = [ 

14 migrations.AddField( 

15 model_name='historydatapoint', 

16 name='created_at', 

17 field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now), 

18 preserve_default=False, 

19 ), 

20 ]