add location migrate
This commit is contained in:
34
rog/migrations/0009_add_fields_to_models.py
Normal file
34
rog/migrations/0009_add_fields_to_models.py
Normal file
@ -0,0 +1,34 @@
|
||||
# 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='サブカテゴリ'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user