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