Добавил поле "обложки" к модели альбома
This commit is contained in:
18
music_storage/music/migrations/0006_album_cover_image.py
Normal file
18
music_storage/music/migrations/0006_album_cover_image.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 6.0 on 2026-01-02 10:10
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('music', '0005_alter_album_artist'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='album',
|
||||
name='cover_image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='album_covers/'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user