-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fa5232
commit 8a23956
Showing
5 changed files
with
544 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.6 on 2021-08-16 15:15 | ||
|
||
from django.db import migrations, models | ||
from django.utils.timezone import datetime, make_aware, get_fixed_timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("music_publisher", "0002_mayday"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="cwrexport", | ||
name="created_on", | ||
field=models.DateTimeField(editable=False, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
# Generated by Django 3.2.6 on 2021-12-02 22:02 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import music_publisher.base | ||
import music_publisher.validators | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("music_publisher", "0003_cwrexport_created_on"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="Playlist", | ||
fields=[], | ||
options={ | ||
"verbose_name": "Playlist", | ||
"verbose_name_plural": "Playlists", | ||
"proxy": True, | ||
"indexes": [], | ||
"constraints": [], | ||
}, | ||
bases=("music_publisher.release",), | ||
), | ||
migrations.AlterModelOptions( | ||
name="artistinwork", | ||
options={ | ||
"ordering": ("artist__last_name", "artist__first_name"), | ||
"verbose_name": "Artist performing", | ||
"verbose_name_plural": "Artists performing (not mentioned in recordings section)", | ||
}, | ||
), | ||
migrations.AddField( | ||
model_name="artist", | ||
name="description", | ||
field=models.TextField(blank=True), | ||
), | ||
migrations.AddField( | ||
model_name="artist", | ||
name="image", | ||
field=models.ImageField( | ||
blank=True, | ||
max_length=255, | ||
upload_to=music_publisher.base.upload_to, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="label", | ||
name="description", | ||
field=models.TextField(blank=True), | ||
), | ||
migrations.AddField( | ||
model_name="label", | ||
name="image", | ||
field=models.ImageField( | ||
blank=True, | ||
max_length=255, | ||
upload_to=music_publisher.base.upload_to, | ||
verbose_name="Logo", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recording", | ||
name="audio_file", | ||
field=models.FileField( | ||
blank=True, | ||
max_length=255, | ||
upload_to=music_publisher.base.upload_to, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="release", | ||
name="description", | ||
field=models.TextField(blank=True), | ||
), | ||
migrations.AddField( | ||
model_name="release", | ||
name="image", | ||
field=models.ImageField( | ||
blank=True, | ||
max_length=255, | ||
upload_to=music_publisher.base.upload_to, | ||
verbose_name="Cover Art", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="writer", | ||
name="description", | ||
field=models.TextField(blank=True), | ||
), | ||
migrations.AddField( | ||
model_name="writer", | ||
name="image", | ||
field=models.ImageField( | ||
blank=True, | ||
max_length=255, | ||
upload_to=music_publisher.base.upload_to, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="recording", | ||
name="artist", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="recordings", | ||
to="music_publisher.artist", | ||
verbose_name="Recording Artist", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="track", | ||
name="release", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="tracks", | ||
to="music_publisher.release", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="work", | ||
name="writers", | ||
field=models.ManyToManyField( | ||
related_name="works", | ||
through="music_publisher.WriterInWork", | ||
to="music_publisher.Writer", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="writer", | ||
name="saan", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Use this field for a general original publishing agreement.", | ||
max_length=14, | ||
null=True, | ||
validators=[ | ||
music_publisher.validators.CWRFieldValidator("saan") | ||
], | ||
verbose_name="SAAN", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
# Generated by Django 3.2.7 on 2022-02-06 17:20 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("music_publisher", "0004_exofile"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="ackimport", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="alternatetitle", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="artist", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="artistinwork", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cwrexport", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="dataimport", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="label", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="library", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="recording", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="release", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="track", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="work", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="workacknowledgement", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="writer", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="writerinwork", | ||
name="id", | ||
field=models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
music_publisher/migrations/0006_alter_cwrexport_nwr_rev.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 3.2.7 on 2022-02-06 17:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("music_publisher", "0005_auto_20220206_1720"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="cwrexport", | ||
name="nwr_rev", | ||
field=models.CharField( | ||
choices=[ | ||
("NW2", "CWR 2.2: New work registrations"), | ||
("RE2", "CWR 2.2: Revisions of registered works"), | ||
], | ||
db_index=True, | ||
default="NWR", | ||
max_length=3, | ||
verbose_name="CWR version/type", | ||
), | ||
), | ||
] |
Oops, something went wrong.