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.
38 lines
1.7 KiB
38 lines
1.7 KiB
# Generated by Django 2.0.7 on 2019-07-30 20:32
|
|
|
|
import django.contrib.postgres.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('content', '0028_auto_20190726_0106'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Package',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('price', models.DecimalField(decimal_places=2, max_digits=10)),
|
|
('high_price', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
|
|
('description', models.TextField(db_index=True, default='', verbose_name='Описание')),
|
|
('duration', models.PositiveSmallIntegerField()),
|
|
('options', models.TextField(db_index=True, default='', verbose_name='Описание')),
|
|
],
|
|
options={
|
|
'ordering': ('duration',),
|
|
},
|
|
),
|
|
migrations.AlterField(
|
|
model_name='banner',
|
|
name='main_banner',
|
|
field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(choices=[(1, 'Главная'), (2, 'Курсы'), (3, 'Школа'), (4, 'Пакеты')]), blank=True, default=[], size=None),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='banner',
|
|
name='pages',
|
|
field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(choices=[(1, 'Главная'), (2, 'Курсы'), (3, 'Школа'), (4, 'Пакеты')]), blank=True, default=[], size=None),
|
|
),
|
|
]
|
|
|