Commit 0053741e authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

Jan

Migrated Files
parent 88fa648f
Pipeline #2771 failed with stages
No preview for this file type
# Generated by Django 4.1.6 on 2023-02-13 17:00
from django.db import migrations, models
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.CharField(max_length=50)),
('artist', models.CharField(max_length=50)),
('description', models.CharField(max_length=500)),
('release_date', models.DateTimeField(verbose_name='date released')),
],
),
migrations.CreateModel(
name='IndexCard',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('artist_name', models.CharField(max_length=420)),
('monthly_listeners', models.IntegerField(default=0)),
],
),
migrations.CreateModel(
name='Song',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('song_title', models.CharField(max_length=50)),
('artist', models.CharField(max_length=50)),
('album', models.CharField(max_length=50)),
('song_length', models.IntegerField()),
],
),
]
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