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

Create a script to modify data in the database #1300

Open
mdsimpson42 opened this issue Aug 22, 2023 · 7 comments
Open

Create a script to modify data in the database #1300

mdsimpson42 opened this issue Aug 22, 2023 · 7 comments
Labels
database Database design/migration help wanted Extra attention is needed

Comments

@mdsimpson42
Copy link
Contributor

There are a number of issues where we need to modify existing data in the database.

Including:

  • Automatically calculating the architectural period from the construction date of the building.
  • Re-wording some of the text in drop-down menus

I will tag this issue in those issues, so there will be links to them all below. Once it has been done and properly tested to solve one issues, we should be able to use similar scripts for the rest.

(I'm not hugely confident with databases, so I want to take my time to do this properly and test it thoroughly first before I go anywhere near production!)

@matkoniecz
Copy link
Contributor

It would use api, not edit database directly, right?

So proper history entries would appear and validation would be applied.

@polly64
Copy link
Contributor

polly64 commented Jan 9, 2024

@mdsimpson42 should this issue be in colouring britain or core?

@polly64 polly64 transferred this issue from colouring-cities/colouring-core Jan 9, 2024
@matkoniecz
Copy link
Contributor

@polly64 I would say core as it is not London specific or Britain specific

@polly64 polly64 transferred this issue from colouring-cities/colouring-britain Jan 9, 2024
@mdsimpson42 mdsimpson42 added the database Database design/migration label Jan 12, 2024
@polly64
Copy link
Contributor

polly64 commented Mar 1, 2024

@mdsimpson42 can we specify more precisely what we need help with

@polly64 polly64 added the help wanted Extra attention is needed label Mar 1, 2024
@matkoniecz
Copy link
Contributor

I actually have such script created during exploring upload tool and used to upload some edits.

It is a bit edit specific but I can include it in repository if useful as an example.

@polly64
Copy link
Contributor

polly64 commented Mar 29, 2024

@matkoniecz can you have a note for us to talk about this at next meeting thanks

@matkoniecz
Copy link
Contributor

added to my notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Database design/migration help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants