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

33 lines
1.4 KiB
Python

# Generated by Django 5.2.7 on 2025-12-03 17:20
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='StudentProfile',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('education', models.CharField(blank=True, max_length=255, null=True)),
('interests', models.JSONField(blank=True, null=True)),
('aptitude_scores', models.JSONField(blank=True, null=True)),
('skills', models.JSONField(blank=True, null=True)),
('resume_id', models.CharField(blank=True, max_length=255, null=True)),
('digilocker_id', models.CharField(blank=True, max_length=255, null=True)),
('languages', models.JSONField(blank=True, null=True)),
('consent_for_portfolio', models.BooleanField(default=False)),
('career_preferences', models.JSONField(blank=True, null=True)),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]