| 123456789101112131415161718192021222324252627 |
- # Generated by Django 5.2.7 on 2025-10-17 10:21
- from django.db import migrations, models
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- ]
- operations = [
- migrations.CreateModel(
- name='Product',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('item_id', models.CharField(max_length=100, unique=True)),
- ('product_name', models.CharField(max_length=255)),
- ('product_long_description', models.TextField(blank=True, null=True)),
- ('product_short_description', models.TextField(blank=True, null=True)),
- ('product_type', models.CharField(blank=True, max_length=100, null=True)),
- ('image_path', models.CharField(blank=True, max_length=500, null=True)),
- ('image', models.ImageField(blank=True, null=True, upload_to='products/')),
- ],
- ),
- ]
|