add migrations
This commit is contained in:
parent
fa66374e3a
commit
00ad51bb78
@ -0,0 +1,32 @@
|
||||
# Generated by Django 4.1.7 on 2023-09-26 17:41
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('web', '0004_alter_customuser_vk_id_alter_customuser_yandex_id'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='next_stats_fetch_time',
|
||||
field=models.DateTimeField(null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='stats_cron',
|
||||
field=models.TextField(null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='stats_link',
|
||||
field=models.TextField(null=True),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='project',
|
||||
index=models.Index(fields=['next_stats_fetch_time'], name='web_project_next_st_234c0f_idx'),
|
||||
),
|
||||
]
|
@ -0,0 +1,26 @@
|
||||
# Generated by Django 4.1.7 on 2023-09-26 17:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('web', '0005_project_next_stats_fetch_time_project_stats_cron_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveIndex(
|
||||
model_name='project',
|
||||
name='web_project_next_st_234c0f_idx',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='stats_enabled',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='project',
|
||||
index=models.Index(fields=['next_stats_fetch_time', 'stats_enabled'], name='web_project_next_st_173b5c_idx'),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user