-
Notifications
You must be signed in to change notification settings - Fork 3
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
Delete all attributes #17
Comments
One major side-effect of deleting attributes is that any resource attribute
(and therefore associated data) will be deleted also, as they all connect
in the relational DB.
Deleting all attributes should therefore really be a last resort/
Attributes are uniquely identified by both name and dimension, so it's
possible for 'cost : dimensionless' and 'cost : monetary value' to
co-exist.
Can you clarify which function is causing the error, and how you are adding
attributes? It might be just a case of needing to add new attributes with
different dimensions.
Thanks.
Steve
…On 17 February 2018 at 00:00, Adel M. Abdallah ***@***.***> wrote:
Is there a way to delete all the attributes in the Hydra db? I noticed
that the tAttr has old dimensions that confuse the script when it looks up
attributes. I think this is way my local Hydra server with new db works
while the remote ones give me an error message about the mismatch between
the attribute and unit dimensions
I'm looking for something like
conn.call('delete_all_attributes', ({}))
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#17>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIr7xCa7eUMvuMeEzKAy4nmT3y4wXdI6ks5tVhaxgaJpZM4SJFbW>
.
|
Thanks Steve for the clarification. So my case can be solved then by adding new attributes with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to delete all the attributes in the Hydra db? I noticed that the tAttr has old dimensions that confuse the script when it looks up attributes. I think this is way my local Hydra server with new db works while the remote ones give me an error message about the mismatch between the attribute and unit dimensions
I'm looking for something like
conn.call('delete_all_attributes', ({}))
Thanks
The text was updated successfully, but these errors were encountered: