|
|
@ -1,4 +1,4 @@ |
|
|
|
# Generated by Django 2.0.5 on 2018-06-03 23:01 |
|
|
|
# Generated by Django 2.0.5 on 2018-06-05 20:53 |
|
|
|
|
|
|
|
from django.db import migrations, models |
|
|
|
import django.db.models.deletion |
|
|
@ -43,7 +43,7 @@ class Migration(migrations.Migration): |
|
|
|
name='User', |
|
|
|
fields=[ |
|
|
|
('user_id', models.CharField(max_length=30, primary_key=True, serialize=False)), |
|
|
|
('username', models.CharField(max_length=30)), |
|
|
|
('user_name', models.CharField(blank=True, max_length=30)), |
|
|
|
], |
|
|
|
options={ |
|
|
|
'verbose_name': 'User', |
|
|
@ -71,15 +71,11 @@ class Migration(migrations.Migration): |
|
|
|
migrations.AddField( |
|
|
|
model_name='track', |
|
|
|
name='artist', |
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='spotifyvis.Artist'), |
|
|
|
field=models.ManyToManyField(to='spotifyvis.Artist'), |
|
|
|
), |
|
|
|
migrations.AddField( |
|
|
|
model_name='track', |
|
|
|
name='users', |
|
|
|
field=models.ManyToManyField(to='spotifyvis.User'), |
|
|
|
), |
|
|
|
migrations.AlterUniqueTogether( |
|
|
|
name='track', |
|
|
|
unique_together={('track_id', 'artist')}, |
|
|
|
), |
|
|
|
] |