initial
This commit is contained in:
25
contact/migrations/0001_initial.py
Normal file
25
contact/migrations/0001_initial.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-13 13:20
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Contact',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=100)),
|
||||
('email', models.EmailField(max_length=254)),
|
||||
('phone', models.CharField(max_length=100)),
|
||||
('subject', models.CharField(max_length=100)),
|
||||
('message', models.TextField()),
|
||||
],
|
||||
),
|
||||
]
|
||||
21
contact/migrations/0002_contactpageseo.py
Normal file
21
contact/migrations/0002_contactpageseo.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-17 09:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('contact', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='contactPageSEO',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('meta_title', models.CharField(blank=True, max_length=500, null=True)),
|
||||
('meta_description', models.CharField(blank=True, max_length=1000, null=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
20
contact/migrations/0003_contact_created_at.py
Normal file
20
contact/migrations/0003_contact_created_at.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-20 08:03
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('contact', '0002_contactpageseo'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='contact',
|
||||
name='created_at',
|
||||
field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
18
contact/migrations/0004_alter_contact_phone.py
Normal file
18
contact/migrations/0004_alter_contact_phone.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.4 on 2023-10-18 05:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('contact', '0003_contact_created_at'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='contact',
|
||||
name='phone',
|
||||
field=models.CharField(blank=True, max_length=100, null=True),
|
||||
),
|
||||
]
|
||||
0
contact/migrations/__init__.py
Normal file
0
contact/migrations/__init__.py
Normal file
Reference in New Issue
Block a user