Skip to content

Commit

Permalink
merging from develop, delete comment-string, rebuild migrations bot_s…
Browse files Browse the repository at this point in the history
…ettings
  • Loading branch information
teryaev-anton committed Sep 1, 2023
1 parent 71e12df commit 623d8f0
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 79 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.4 on 2023-08-28 21:33
# Generated by Django 4.2.4 on 2023-09-01 16:07

import ckeditor.fields
from django.db import migrations, models
Expand All @@ -21,6 +21,19 @@ class Migration(migrations.Migration):
verbose_name="Название настройки",
),
),
migrations.AlterField(
model_name="botsettings",
name="type",
field=models.CharField(
choices=[
("url", "Ссылка"),
("text", "Текст"),
("int", "Число"),
],
max_length=100,
verbose_name="Тип значения",
),
),
migrations.AlterField(
model_name="botsettings",
name="value",
Expand Down
23 changes: 0 additions & 23 deletions src/bot_settings/migrations/0003_alter_botsettings_type.py

This file was deleted.

24 changes: 0 additions & 24 deletions src/bot_settings/migrations/0004_alter_botsettings_type.py

This file was deleted.

17 changes: 0 additions & 17 deletions src/bot_settings/migrations/0004_merge_20230830_1608.py

This file was deleted.

14 changes: 0 additions & 14 deletions src/bot_settings/migrations/0005_merge_20230901_0636.py

This file was deleted.

24 changes: 24 additions & 0 deletions src/core/migrations/0003_alter_region_region_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.2.4 on 2023-09-01 16:07

from django.db import migrations, models


class Migration(migrations.Migration):
"""Migrations for bot."""

dependencies = [
("core", "0002_alter_region_region_name"),
]

operations = [
migrations.AlterField(
model_name="region",
name="region_name",
field=models.CharField(
help_text="Это название так же будет отображаться на кнопках бота",
max_length=200,
unique=True,
verbose_name="Название региона",
),
),
]

0 comments on commit 623d8f0

Please sign in to comment.