Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GridArea 870 #5

Merged
merged 2 commits into from
Feb 2, 2022
Merged

Remove GridArea 870 #5

merged 2 commits into from
Feb 2, 2022

Conversation

FirestarJes
Copy link
Contributor

@FirestarJes FirestarJes commented Feb 1, 2022

Remove this grid area as it is assigned only to an Energinet Datahub Actor, which has the role DDZ, which shouldn't be assigned gridareas.

REmove this grid area as it is assignet only to an Energinet Datahub Actor, which has the role DDZ, which shouldn't be assigned gridareas.
@@ -0,0 +1,2 @@
DELETE FROM GridAreaInfo
WHERE Id = 'CBB32B7B-1644-4B8C-AAC4-5EE8E862F4F8' AND Code = '870'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the grid area without first removing the link?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, updated scripts

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would make sense to add an integration test? We have some repository tests in the charges domain that could serve as a good inspiration.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the long term, that may very well be a good idea. But it's not currently planned.

@FirestarJes FirestarJes merged commit ece2b72 into main Feb 2, 2022
@FirestarJes FirestarJes deleted the RemoveGridAreaAssignedToActor branch February 2, 2022 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants