-
-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete unused TestEnvironment{,Category,Element,Map,Property} models
these are not used and duplicated by the existing TCMSEnv{Group,Property,Value} models - Delete model TestEnvironment - Delete model TestEnvironmentCategory - Delete model TestEnvironmentElement - Delete model TestEnvironmentMap - Delete model TestEnvironmentProperty
- Loading branch information
Showing
6 changed files
with
68 additions
and
197 deletions.
There are no files selected for viewing
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
67 changes: 67 additions & 0 deletions
67
tcms/management/migrations/0005_remove_testenvironment_models.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,67 @@ | ||
# Generated by Django 2.0.1 on 2018-01-26 12:51 | ||
# Removes movels which are not used anywhere and are | ||
# somewhat duplicated by TCMSEnv{Group,Property,Value} models | ||
# which are in active use | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('management', '0004_update_tcmsenvvalue_ordering'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='testenvironment', | ||
name='product', | ||
), | ||
migrations.AlterIndexTogether( | ||
name='testenvironmentcategory', | ||
index_together=set(), | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentcategory', | ||
name='product', | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentelement', | ||
name='env_category', | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentelement', | ||
name='parent', | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentmap', | ||
name='element', | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentmap', | ||
name='environment', | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentmap', | ||
name='property', | ||
), | ||
migrations.RemoveField( | ||
model_name='testenvironmentproperty', | ||
name='element', | ||
), | ||
migrations.DeleteModel( | ||
name='TestEnvironment', | ||
), | ||
migrations.DeleteModel( | ||
name='TestEnvironmentCategory', | ||
), | ||
migrations.DeleteModel( | ||
name='TestEnvironmentElement', | ||
), | ||
migrations.DeleteModel( | ||
name='TestEnvironmentMap', | ||
), | ||
migrations.DeleteModel( | ||
name='TestEnvironmentProperty', | ||
), | ||
] |
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 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 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 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