Coverage for crunch/migrations/0004_dateattribute.py: 100.00%

5 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-10-01 13:43 +0000

1# Generated by Django 3.2.12 on 2022-03-20 07:09 

2 

3from django.db import migrations, models 

4import django.db.models.deletion 

5 

6 

7class Migration(migrations.Migration): 

8 

9 dependencies = [ 

10 ('crunch', '0003_booleanattribute'), 

11 ] 

12 

13 operations = [ 

14 migrations.CreateModel( 

15 name='DateAttribute', 

16 fields=[ 

17 ('attribute_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='crunch.attribute')), 

18 ('value', models.DateField()), 

19 ], 

20 options={ 

21 'abstract': False, 

22 }, 

23 bases=('crunch.attribute',), 

24 ), 

25 ]