forked from ijasperyang/django-survey
-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create old migrations that were not done before
- Loading branch information
1 parent
b3b9f79
commit 0d3ff29
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 3.0.7 on 2020-06-09 07:48 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [("survey", "0012_add_display_by_category")] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="question", | ||
name="type", | ||
field=models.CharField( | ||
choices=[ | ||
("text", "text (multiple line)"), | ||
("short-text", "short text (one line)"), | ||
("radio", "radio"), | ||
("select", "select"), | ||
("select-multiple", "Select Multiple"), | ||
("select_image", "Select Image"), | ||
("integer", "integer"), | ||
("float", "float"), | ||
("date", "date"), | ||
], | ||
default="text", | ||
max_length=200, | ||
verbose_name="Type", | ||
), | ||
) | ||
] |