You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
myblog/App/migrations/0018_videoupload.py

26 lines
928 B

# Generated by Django 3.2.9 on 2022-05-06 16:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('App', '0017_auto_20220505_2143'),
]
operations = [
migrations.CreateModel(
name='videoUpload',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('username', models.CharField(max_length=100)),
('video_time', models.DateField(auto_now_add=True)),
('video_title', models.CharField(max_length=200)),
('video_desc', models.CharField(max_length=2000)),
('video_path', models.FileField(upload_to='')),
('views', models.IntegerField(default=0)),
('video_image', models.URLField(default='', max_length=10000)),
],
),
]