updated README.txt

parent 94c3bb95
...@@ -2,7 +2,7 @@ Lex Philip Gabriel D. Chan ...@@ -2,7 +2,7 @@ Lex Philip Gabriel D. Chan
211411 211411
BSMS Computer Science BSMS Computer Science
CSCI 40 - E (Software Tools and Development Frameworks) CSCI 40 - E (Software Tools and Development Frameworks)
Lab 1 - Song Library Lab 2 - Song Library v2
February 13, 2023 February 20, 2023
The lab was truthfully completed by me. The lab was truthfully completed by me.
<sgd> Lex Philip Gabriel D. Chan, February 13, 2023 <sgd> Lex Philip Gabriel D. Chan, February 20, 2023
\ No newline at end of file \ No newline at end of file
# Generated by Django 4.1.6 on 2023-02-13 14:16
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('About', '0002_alter_album_artist_alter_song_album_and_more'),
]
operations = [
migrations.RemoveField(
model_name='song',
name='album',
),
migrations.RemoveField(
model_name='song',
name='artist',
),
migrations.DeleteModel(
name='Album',
),
migrations.DeleteModel(
name='Artist',
),
migrations.DeleteModel(
name='Song',
),
]
# Generated by Django 4.1.6 on 2023-02-13 14:16
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Album',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('album_name', models.TextField()),
('description', models.TextField()),
('release_date', models.DateField()),
],
),
migrations.CreateModel(
name='Artist',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('artist_name', models.TextField()),
('monthly_listeners', models.IntegerField()),
],
),
migrations.CreateModel(
name='Song',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('song_title', models.TextField()),
('song_length', models.IntegerField()),
('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Homepage.album')),
('artist', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Homepage.artist')),
],
),
migrations.AddField(
model_name='album',
name='artist',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Homepage.artist'),
),
]
No preview for this file type
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