35 lines
1.1 KiB
Python
35 lines
1.1 KiB
Python
# Generated manually to add missing timestamp fields to gpscheckin
|
|
from django.db import migrations, models
|
|
from django.utils import timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('rog', '0008_add_status_field'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='gpscheckin',
|
|
name='created_at',
|
|
field=models.DateTimeField(auto_now_add=True, default=timezone.now),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AddField(
|
|
model_name='gpscheckin',
|
|
name='updated_at',
|
|
field=models.DateTimeField(auto_now=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='location2025',
|
|
name='sub_loc_id',
|
|
field=models.CharField(blank=True, max_length=2048, null=True, verbose_name='サブロケーションID'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='location2025',
|
|
name='subcategory',
|
|
field=models.CharField(blank=True, max_length=2048, null=True, verbose_name='サブカテゴリ'),
|
|
),
|
|
]
|