mirror of
https://github.com/Damillora/Altessimo
synced 2024-12-22 09:53:45 +00:00
Revise migrations
This commit is contained in:
parent
e4958148b1
commit
ee8f443e5d
23
songs/migrations/0003_auto_20201216_1925.py
Normal file
23
songs/migrations/0003_auto_20201216_1925.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.4 on 2020-12-16 19:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('songs', '0002_auto_20201216_1622'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='song',
|
||||
name='romanized_title',
|
||||
field=models.CharField(blank=True, max_length=255),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='song',
|
||||
name='title',
|
||||
field=models.CharField(max_length=255),
|
||||
),
|
||||
]
|
@ -4,8 +4,8 @@ from django.db import models
|
||||
# Create your models here.
|
||||
class Song(models.Model):
|
||||
branch = models.ForeignKey("categories.Branch", on_delete=models.PROTECT)
|
||||
title = models.CharField(max_length=255,blank=True)
|
||||
romanized_title = models.CharField(max_length=255)
|
||||
title = models.CharField(max_length=255)
|
||||
romanized_title = models.CharField(max_length=255,blank=True)
|
||||
lyricist = models.ManyToManyField("artists.Artist", blank=True, related_name="written_songs")
|
||||
composer = models.ManyToManyField("artists.Artist", blank=True, related_name="composed_songs")
|
||||
arranger = models.ManyToManyField("artists.Artist", blank=True, related_name="arranged_songs")
|
||||
|
Loading…
Reference in New Issue
Block a user