28 lines
889 B
Python
28 lines
889 B
Python
# Generated by Django 5.2.7 on 2026-02-18 14:17
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0015_userprofile_last_location_update_and_more'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Badge',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=50)),
|
|
('description', models.CharField(max_length=255)),
|
|
('icon_class', models.CharField(default='fas fa-medal', max_length=50)),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='userprofile',
|
|
name='badges',
|
|
field=models.ManyToManyField(blank=True, related_name='users', to='core.badge'),
|
|
),
|
|
]
|