-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue #174] removed intermediate migration files and replaced them b…
…y a single overall migration file
- Loading branch information
Showing
11 changed files
with
209 additions
and
240 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
koalixcrm/accounting/migrations/0008_auto_20181012_2056.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.4 on 2018-10-12 20:56 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('accounting', '0007_auto_20180422_2105'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ProductCategory', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('title', models.CharField(max_length=50, verbose_name='Product Category Title')), | ||
], | ||
options={ | ||
'verbose_name': 'Product Category', | ||
'verbose_name_plural': 'Product Categories', | ||
}, | ||
), | ||
migrations.RemoveField( | ||
model_name='productcategorie', | ||
name='loss_account', | ||
), | ||
migrations.RemoveField( | ||
model_name='productcategorie', | ||
name='profit_account', | ||
), | ||
] |
30 changes: 30 additions & 0 deletions
30
koalixcrm/accounting/migrations/0009_auto_20181012_2056.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.4 on 2018-10-12 20:56 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('crm', '0048_auto_20181012_2056'), | ||
('accounting', '0008_auto_20181012_2056'), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name='ProductCategorie', | ||
), | ||
migrations.AddField( | ||
model_name='productcategory', | ||
name='loss_account', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='db_loss_account', to='accounting.Account', verbose_name='Loss Account'), | ||
), | ||
migrations.AddField( | ||
model_name='productcategory', | ||
name='profit_account', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='db_profit_account', to='accounting.Account', verbose_name='Profit Account'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
koalixcrm/crm/migrations/0050_remove_estimation_estimation_status.py
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
koalixcrm/crm/migrations/0051_remove_estimation_estimation_type.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.