Page MenuHomec4science

0020_auto_20210414_1230.py
No OneTemporary

File Metadata

Created
Thu, Nov 14, 03:45

0020_auto_20210414_1230.py

# Generated by Django 3.1.4 on 2021-04-14 10:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('django_api', '0019_auto_20210407_1029'),
]
operations = [
migrations.CreateModel(
name='Cost_factor_type',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=300)),
],
),
migrations.RemoveField(
model_name='term',
name='cost_factor',
),
migrations.CreateModel(
name='Cost_factor',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('amount', models.IntegerField()),
('symbol', models.CharField(max_length=10)),
('description', models.CharField(max_length=300)),
('cost_factor_type', models.ManyToManyField(to='django_api.Cost_factor_type')),
],
),
migrations.AddField(
model_name='term',
name='cost_factor',
field=models.ManyToManyField(to='django_api.Cost_factor'),
),
]

Event Timeline