| 12345678910111213141516171819202122232425262728293031 |
- # Generated by Django 4.2 on 2025-05-06 08:47
- from django.conf import settings
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ('core', '0007_customertemplatemapping_created_at_and_more'),
- ]
- operations = [
- migrations.CreateModel(
- name='ProductDrawing',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('code_no', models.CharField(blank=True, max_length=100, null=True)),
- ('code_no_mks', models.CharField(blank=True, max_length=100, null=True)),
- ('lot_no', models.CharField(blank=True, max_length=100, null=True)),
- ('drawing', models.ImageField(upload_to='drawings/')),
- ('description', models.TextField(blank=True, null=True)),
- ('created_at', models.DateTimeField(auto_now_add=True)),
- ('updated_at', models.DateTimeField(auto_now=True)),
- ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
- ],
- ),
- ]
|