36631-vm/core/migrations/0001_initial.py
Flatlogic Bot 854bc3fb41 1
2025-12-03 17:23:10 +00:00

39 lines
1.6 KiB
Python

# Generated by Django 5.2.7 on 2025-12-03 17:18
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Skill',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255, unique=True)),
('description', models.TextField(blank=True, null=True)),
('proficiency_levels', models.JSONField(blank=True, null=True)),
('related_jobs', models.JSONField(blank=True, null=True)),
],
),
migrations.CreateModel(
name='CareerPath',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=255, unique=True)),
('description', models.TextField(blank=True, null=True)),
('typical_roles', models.JSONField(blank=True, null=True)),
('clusters', models.JSONField(blank=True, null=True)),
('salary_range', models.CharField(blank=True, max_length=255, null=True)),
('growth_trends', models.TextField(blank=True, null=True)),
('sample_roadmap_id', models.CharField(blank=True, max_length=255, null=True)),
('required_skills', models.ManyToManyField(related_name='career_paths', to='core.skill')),
],
),
]