Database formed

parent dc0f0391
No preview for this file type
# Generated by Django 4.1.7 on 2023-02-21 14:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('homepage', '0002_album_label_album_song_count_artist_bio_and_more'),
]
operations = [
migrations.AlterField(
model_name='song',
name='song_length',
field=models.CharField(blank=True, max_length=10, null=True),
),
]
......@@ -18,6 +18,6 @@ class Song(models.Model):
song_title = models.CharField(max_length=50, blank=True, null=True)
artist = models.CharField(max_length=50, blank=True, null=True)
album = models.CharField(max_length=50, blank=True, null=True)
song_length = models.IntegerField(blank=True, null=True)
song_length = models.CharField(max_length=10, blank=True, null=True)
music_video = models.BooleanField(default=False)
lyrics = models.TextField(blank=True, null=True)
\ 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