Commit c24c5dab authored by Nate Brevin A. Que's avatar Nate Brevin A. Que

Added music_video and lyrics fields to the Song Model.

parent 9c106e36
# Generated by Django 3.2 on 2023-02-20 04:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('homepage', '0003_auto_20230220_1243'),
]
operations = [
migrations.AddField(
model_name='song',
name='lyrics',
field=models.TextField(default=''),
),
migrations.AddField(
model_name='song',
name='music_video',
field=models.BooleanField(default=False),
),
]
......@@ -22,3 +22,5 @@ class Song(models.Model):
artist = models.ForeignKey(Artist, on_delete=models.CASCADE)
album = models.ForeignKey(Album, on_delete=models.CASCADE)
song_length = models.IntegerField()
music_video = models.BooleanField(default=False)
lyrics = models.TextField(default="")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment