apply languages
This commit is contained in:
18
Main/migrations/0019_set_auto_add_new_languages.py
Normal file
18
Main/migrations/0019_set_auto_add_new_languages.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.4 on 2022-02-11 21:03
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('Main', '0018_set_languages'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='set',
|
||||
name='auto_add_new_languages',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
]
|
21
Main/migrations/0020_languageapply.py
Normal file
21
Main/migrations/0020_languageapply.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# Generated by Django 3.2.4 on 2022-02-11 21:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('Main', '0019_set_auto_add_new_languages'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='LanguageApply',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('language_id', models.IntegerField()),
|
||||
('applied', models.BooleanField(default=False)),
|
||||
],
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user