storage yaratildi

This commit is contained in:
Husanjonazamov
2026-03-13 20:17:06 +05:00
commit 1c692b51b6
256 changed files with 8852 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Generated by Django 5.2.7 on 2026-03-12 10:36
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='FileuploadModel',
fields=[
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('file', models.FileField(upload_to='uploads/', verbose_name='file')),
('original_name', models.CharField(max_length=255, verbose_name='original name')),
('bucket', models.CharField(default='uploads', max_length=100, verbose_name='bucket')),
('content_type', models.CharField(blank=True, max_length=100, null=True, verbose_name='content type')),
('file_size', models.BigIntegerField(blank=True, null=True, verbose_name='file size')),
],
options={
'verbose_name': 'File Upload',
'verbose_name_plural': 'File Uploads',
'db_table': 'file_uploads',
},
),
]

View File