27 lines
645 B
Python
27 lines
645 B
Python
# Generated by Django 4.1.7 on 2023-05-09 18:43
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Video',
|
|
fields=[
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
('name', models.TextField()),
|
|
('file', models.FileField(upload_to='videos/')),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
options={
|
|
'db_table': 'Video',
|
|
},
|
|
),
|
|
]
|