Skip to content

Commit

Permalink
Add initial migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-lybid committed Oct 12, 2023
1 parent 88b2bdf commit f92e65c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cinema/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 4.0.2 on 2022-05-03 13:41

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=255)),
("description", models.TextField()),
("duration", models.IntegerField()),
],
),
]

0 comments on commit f92e65c

Please sign in to comment.