Skip to content

Migrate attribute names to use dashed to separate words #911

@victorgarcia98

Description

@victorgarcia98

In general, we are using underscore for the DB entities attributes and deserialized attributes and dashed for serialized data.

However, DB attributes are in a serialized form (e.g. we could store quantities as string and convert them back to ur.Quantities) so it might be more consistent to separate words with dashed.

This looks like a trivial task but bear with me that it isn't. Some things to consider are:

  • Migrate old attributes replacing underscores by dashes. (also the down revision ("-" -> "_"). Can we do this in general or are there DB attributes using dashes?
  • Look for the use of the attributes through the code and do the replacement.

Non flexmeasures core tasks

  • Make existing plugins to use/set the new asset attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions