Coverage for apps / profiles / migrations / 0001_initial.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 00:40 +0000

1# Generated by Django 5.2.10 on 2026-01-07 14:30 

2 

3from django.db import migrations, models 

4 

5 

6class Migration(migrations.Migration): 

7 

8 initial = True 

9 

10 dependencies = [ 

11 ] 

12 

13 operations = [ 

14 migrations.CreateModel( 

15 name='Profile', 

16 fields=[ 

17 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 

18 ('name', models.CharField(max_length=100)), 

19 ('avatar_color', models.CharField(max_length=7)), 

20 ('theme', models.CharField(choices=[('light', 'Light'), ('dark', 'Dark')], default='light', max_length=10)), 

21 ('unit_preference', models.CharField(choices=[('metric', 'Metric'), ('imperial', 'Imperial')], default='metric', max_length=10)), 

22 ('created_at', models.DateTimeField(auto_now_add=True)), 

23 ('updated_at', models.DateTimeField(auto_now=True)), 

24 ], 

25 ), 

26 ] 

← Back to Dashboard