No Description

0012_proxiosemestre.py 1.2KB

1234567891011121314151617181920212223242526272829
  1. # Generated by Django 3.0.8 on 2020-12-07 14:38
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('CompanionApp', '0011_auto_20201207_0948'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='ProxioSemestre',
  11. fields=[
  12. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  13. ('name', models.CharField(max_length=150)),
  14. ('code', models.CharField(max_length=9)),
  15. ('creditos', models.IntegerField(default=0)),
  16. ('section', models.CharField(blank=True, max_length=5, null=True)),
  17. ('prof', models.CharField(blank=True, max_length=150, null=True)),
  18. ('hours', models.CharField(blank=True, max_length=150, null=True)),
  19. ('days', models.CharField(blank=True, max_length=100, null=True)),
  20. ('rooms', models.CharField(blank=True, max_length=100, null=True)),
  21. ('course_id', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='CompanionApp.Curso')),
  22. ],
  23. ),
  24. ]