28 lines
870 B
Python
28 lines
870 B
Python
# Generated by Django 5.2.7 on 2025-11-23 13:10
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Movie',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=200)),
|
|
('description', models.TextField()),
|
|
('genre', models.CharField(max_length=100)),
|
|
('thumbnail_url', models.URLField()),
|
|
('video_url', models.URLField()),
|
|
('is_featured', models.BooleanField(default=False)),
|
|
('rating', models.DecimalField(decimal_places=1, default=8.0, max_digits=3)),
|
|
],
|
|
),
|
|
]
|