Coder Social home page Coder Social logo

Comments (7)

YourTechBud avatar YourTechBud commented on July 18, 2024 1

@Jayesh333 i think @ledex is talking about mission control here. The schema i have put in resets when i try to change the table name. We are talking about the form in mission control.

from mission-control.

YourTechBud avatar YourTechBud commented on July 18, 2024

@ledex that's true. @Jayesh333 is there anything we can do about jt?

from mission-control.

HeyItsJs avatar HeyItsJs commented on July 18, 2024

Both SQL databases and MongoDB support renaming table/collection. So on any table name change, we can instruct space cloud to rename the table/collection

from mission-control.

HeyItsJs avatar HeyItsJs commented on July 18, 2024

Ooh yeah got it! That's because the schema description is derived from the table name. Since the schema description is just a string and not a JavaScript object, its difficult to play around it. Will have to manipulate the string to just change the table name somehow.

It's a bit tricky, but should be doable.

from mission-control.

ledex avatar ledex commented on July 18, 2024

Maybe you could do it the other way around? Deriving the name of the table from the schema?

from mission-control.

HeyItsJs avatar HeyItsJs commented on July 18, 2024

@ledex That's not really an option I think😅 because the schema field is optional whereas the table name is a required field.

Not to worry though! Have figured out how to preserve the schema structure when updating table name along with keeping the latest table name in the schema description😅

from mission-control.

HeyItsJs avatar HeyItsJs commented on July 18, 2024

Resolved in v0.13.0

from mission-control.

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.