develop/soita-2.0 #36
33
questionnaire/migrations/0001_initial.py
Normal file
33
questionnaire/migrations/0001_initial.py
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated by Django 3.2.9 on 2022-05-15 21:29
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Questionnaire',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('overall', models.IntegerField(default=0)),
|
||||
('functionality', models.IntegerField(default=0)),
|
||||
('look', models.IntegerField(default=0)),
|
||||
('intuitive', models.IntegerField(default=0)),
|
||||
('bugs', models.IntegerField(default=0)),
|
||||
('tech', models.IntegerField(default=0)),
|
||||
('potential', models.IntegerField(default=0)),
|
||||
('worst', models.IntegerField(default=0)),
|
||||
('desc', models.CharField(default='', max_length=255)),
|
||||
('fill_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnaire', to=settings.AUTH_USER_MODEL)),
|
||||
],
|
||||
),
|
||||
]
|
18
trials/migrations/0022_test_difficulty_label.py
Normal file
18
trials/migrations/0022_test_difficulty_label.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.9 on 2022-05-15 21:29
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('trials', '0021_remove_test_difficulty_label'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='test',
|
||||
name='difficulty_label',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user