mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-15 10:05:21 +00:00
29 lines
883 B
Python
29 lines
883 B
Python
# Generated by Django 4.2.2 on 2023-07-24 14:15
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('web_admin', '0002_alter_articlecard_image'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='DefaultArticleCardImage',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('image_name', models.CharField(max_length=20)),
|
|
('image_url', models.URLField()),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
),
|
|
migrations.RenameField(
|
|
model_name='articlecard',
|
|
old_name='image',
|
|
new_name='image_url',
|
|
),
|
|
]
|