Update 0034_source_target_schedule_and_more.py
This commit is contained in:
1 parent
5ddf0208b2
commit
58d3541acf
1 file changed
+2
-1
@@ -1,5 +1,6 @@
|
||||
# Generated by Django 5.2.1 on 2025-05-26 04:43
|
||||
|
||||
import django.utils.timezone
|
||||
import sync.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
@@ -14,7 +15,7 @@ class Migration(migrations.Migration):
|
||||
model_name='source',
|
||||
name='target_schedule',
|
||||
field=models.DateTimeField(
|
||||
auto_now_add=True, db_index=True, default=None,
|
||||
db_index=True, default=django.utils.timezone.now,
|
||||
help_text='Date and time when the task to index the source should begin',
|
||||
verbose_name='target schedule',
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user