mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Extend functionalities
This commit is contained in:
20
dcc/metadata/migrations/0004_equipment.py
Normal file
20
dcc/metadata/migrations/0004_equipment.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 4.0.2 on 2022-03-06 19:50
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('metadata', '0003_metadata_extend'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Equipment',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('equipment_type', models.CharField(max_length=128, unique=True)),
|
||||
],
|
||||
),
|
||||
]
|
27
dcc/metadata/migrations/0005_tag_delete_equipment.py
Normal file
27
dcc/metadata/migrations/0005_tag_delete_equipment.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 4.0.2 on 2022-03-06 20:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('metadata', '0004_equipment'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Tag',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=128, unique=True)),
|
||||
('slug', models.CharField(max_length=128, unique=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': 'Equipment',
|
||||
},
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='Equipment',
|
||||
),
|
||||
]
|
17
dcc/metadata/migrations/0006_alter_tag_options.py
Normal file
17
dcc/metadata/migrations/0006_alter_tag_options.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 4.0.2 on 2022-03-06 20:15
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('metadata', '0005_tag_delete_equipment'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='tag',
|
||||
options={},
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user