-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OSDEV-1142] Technical Debt. Remove unused
api_tilecache
and `api_d…
…ynamicsetting` tables. (#303) [OSDEV-1142](https://opensupplyhub.atlassian.net/browse/OSDEV-1142) Technical Debt. Remove unused `api_tilecache` and `api_dynamicsetting` tables. * Removed files with models Tilecache and Dynamicsetting * Added 0152 migration with deleting models and tables from db * Removed imports and the file with unused functions * Replaced direct model import with method get_model in 0133 migration [OSDEV-1142]: https://opensupplyhub.atlassian.net/browse/OSDEV-1142?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: Inessa Druzhkova <[email protected]>
- Loading branch information
1 parent
3818cf7
commit 847679d
Showing
9 changed files
with
49 additions
and
187 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
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
20 changes: 20 additions & 0 deletions
20
src/django/api/migrations/0152_delete_tilecache_and_dynamicsetting.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,20 @@ | ||
|
||
# Generated by Django 3.2.4 on 2024-07-24 12:38 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0151_replace_index_number_of_workers'), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name='DynamicSetting', | ||
), | ||
migrations.DeleteModel( | ||
name='TileCache', | ||
), | ||
] |
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.