Giter Site home page Giter Site logo

Comments (3)

helfrichmichael avatar helfrichmichael commented on June 2, 2024

Yeah, you can modify the Device class for example if you want to add additional fields. Do note that if you plan on doing anything with that field on the Frontend/Chrome App, you may need to modify the models/code to handle this new field on the Frontend/Chrome App.

from loaner.

StephaneConq avatar StephaneConq commented on June 2, 2024

Sure, that's exacly what I was going to do.
When I'll update the model in the class, do I need to do a specific action somewhere to update the model in the database with the model in the code, like a migration or something like this?

from loaner.

helfrichmichael avatar helfrichmichael commented on June 2, 2024

Without context, I think you should be fine with just introducing a new field and providing a type (it should be visible in Datastore once you promote the latest App Engine service versions). You may need to bootstrap once again after modifying, but I don't think this will be the case.

Depending on what the field is doing, there might be additional steps that need to be taken to get the entity to match up properly in datastore. The only other thing you might need to do is reindexing the device entities via the configuration page in the Web App.

from loaner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.