Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.9 KiB
65 lines
1.9 KiB
# Generated by Django 4.2.8 on 2024-04-14 12:57
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
(
|
|
"seminar",
|
|
"0114_related_name_se_zmenilo_a_django_chce_migraci_tak_dostane_migraci",
|
|
),
|
|
("sifrovacka", "0003_odpoveducastnika_uspech"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Napoveda",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("text", models.TextField()),
|
|
("sifra", models.IntegerField()),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name="NapovezenoUcastnikovi",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("sifra", models.IntegerField(verbose_name="Číslo šifry")),
|
|
(
|
|
"timestamp",
|
|
models.DateTimeField(
|
|
default=django.utils.timezone.now, verbose_name="Timestamp"
|
|
),
|
|
),
|
|
(
|
|
"resitel",
|
|
models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
to="seminar.resitel",
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"ordering": ["-timestamp"],
|
|
},
|
|
),
|
|
]
|
|
|