1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-22 13:57:31 +00:00
Altessimo/categories/migrations/0001_initial.py

35 lines
1.0 KiB
Python
Raw Normal View History

2020-12-16 14:26:15 +00:00
# Generated by Django 3.1.4 on 2020-12-16 14:26
2020-12-15 21:32:20 +00:00
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
2020-12-16 14:26:15 +00:00
migrations.CreateModel(
name='Branch',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(blank=True, max_length=255)),
('acronym', models.CharField(blank=True, max_length=20)),
],
),
2020-12-15 21:32:20 +00:00
migrations.CreateModel(
name='Category',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
2020-12-16 14:26:15 +00:00
('description', models.TextField(blank=True)),
2020-12-15 21:32:20 +00:00
],
2020-12-16 14:26:15 +00:00
options={
'verbose_name_plural': 'Categories',
'ordering': ['name'],
},
2020-12-15 21:32:20 +00:00
),
]