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.
26 lines
844 B
26 lines
844 B
3 years ago
|
# Generated by Django 3.2.9 on 2022-05-01 19:01
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('App', '0002_login'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Upload',
|
||
|
fields=[
|
||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('username', models.CharField(max_length=100)),
|
||
|
('upload_time', models.DateTimeField(auto_now_add=True)),
|
||
|
('file_name', models.CharField(max_length=100)),
|
||
|
('file_size', models.CharField(max_length=100)),
|
||
|
('file_type', models.CharField(max_length=100)),
|
||
|
('file_path', models.FileField(upload_to='uploads/')),
|
||
|
],
|
||
|
),
|
||
|
]
|