|
@ -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 |
|
|
from django.db import migrations, models |
|
|
import django.db.models.deletion |
|
|
import django.db.models.deletion |
|
@ -43,7 +43,7 @@ class Migration(migrations.Migration): |
|
|
name='User', |
|
|
name='User', |
|
|
fields=[ |
|
|
fields=[ |
|
|
('user_id', models.CharField(max_length=30, primary_key=True, serialize=False)), |
|
|
('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={ |
|
|
options={ |
|
|
'verbose_name': 'User', |
|
|
'verbose_name': 'User', |
|
@ -71,15 +71,11 @@ class Migration(migrations.Migration): |
|
|
migrations.AddField( |
|
|
migrations.AddField( |
|
|
model_name='track', |
|
|
model_name='track', |
|
|
name='artist', |
|
|
name='artist', |
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='spotifyvis.Artist'), |
|
|
|
|
|
|
|
|
field=models.ManyToManyField(to='spotifyvis.Artist'), |
|
|
), |
|
|
), |
|
|
migrations.AddField( |
|
|
migrations.AddField( |
|
|
model_name='track', |
|
|
model_name='track', |
|
|
name='users', |
|
|
name='users', |
|
|
field=models.ManyToManyField(to='spotifyvis.User'), |
|
|
field=models.ManyToManyField(to='spotifyvis.User'), |
|
|
), |
|
|
), |
|
|
migrations.AlterUniqueTogether( |
|
|
|
|
|
name='track', |
|
|
|
|
|
unique_together={('track_id', 'artist')}, |
|
|
|
|
|
), |
|
|
|
|
|
] |
|
|
] |