38381-vm/core/migrations/0001_initial.py
Flatlogic Bot 587ca82ae6 T0
2026-02-12 13:11:59 +00:00

32 lines
1.3 KiB
Python

# Generated by Django 5.2.7 on 2026-02-12 13:02
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='InventoryItem',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('description', models.TextField(blank=True)),
('cost', models.DecimalField(decimal_places=2, max_digits=10)),
('installments_options', models.CharField(help_text='e.g., 12 months interest free', max_length=255)),
('features', models.TextField(help_text='Comma separated features')),
('store_location', models.CharField(max_length=255)),
('store_name', models.CharField(max_length=255)),
('lead_time', models.CharField(help_text='e.g., 3-5 days', max_length=100)),
('image_url', models.URLField(blank=True, null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
],
),
]