59 lines
1.7 KiB
Python
59 lines
1.7 KiB
Python
# Generated by Django 6.0 on 2026-01-08 10:43
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('px_sources', '0003_populate_px_sources'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='pxsource',
|
|
options={'ordering': ['name_en'], 'verbose_name': 'PX Source', 'verbose_name_plural': 'PX Sources'},
|
|
),
|
|
migrations.RemoveIndex(
|
|
model_name='pxsource',
|
|
name='px_sources__is_acti_feb78d_idx',
|
|
),
|
|
migrations.RemoveIndex(
|
|
model_name='pxsource',
|
|
name='px_sources__code_8ab80d_idx',
|
|
),
|
|
migrations.AddField(
|
|
model_name='pxsource',
|
|
name='description',
|
|
field=models.TextField(blank=True, help_text='Detailed description'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='pxsource',
|
|
index=models.Index(fields=['is_active', 'name_en'], name='px_sources__is_acti_ea1b54_idx'),
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='pxsource',
|
|
name='code',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='pxsource',
|
|
name='description_ar',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='pxsource',
|
|
name='description_en',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='pxsource',
|
|
name='metadata',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='pxsource',
|
|
name='order',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='pxsource',
|
|
name='source_type',
|
|
),
|
|
]
|