29 lines
1.1 KiB
Python
29 lines
1.1 KiB
Python
# Generated by Django 5.2 on 2025-04-23 22:31
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('app', '0007_faq'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Contact',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('contact_type', models.CharField(choices=[('customer_service', 'Customer Service'), ('whatsapp', 'WhatsApp'), ('website', 'Website'), ('facebook', 'Facebook'), ('instagram', 'Instagram'), ('twitter', 'Twitter')], max_length=20)),
|
|
('title', models.CharField(max_length=100)),
|
|
('value', models.CharField(max_length=200)),
|
|
('is_active', models.BooleanField(default=True)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'ordering': ['contact_type'],
|
|
},
|
|
),
|
|
]
|