CARGA
CARGA
This commit is contained in:
25
inventarioalmacen/migrations/0007_area.py
Normal file
25
inventarioalmacen/migrations/0007_area.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 3.2.7 on 2021-10-06 12:24
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('inventarioalmacen', '0006_rentrada_autor'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='area',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('nombre', models.CharField(max_length=200, unique=True, verbose_name='Nombre')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Area',
|
||||
'verbose_name_plural': 'Areas',
|
||||
'ordering': ['nombre'],
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user