mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-17 02:45:08 +00:00
modified yml file, default article card image upload api,
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
# 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',
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user