Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9140349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:30:18+00:00 2026-06-17T09:30:18+00:00

Let me please state my scenario. I have an application in which I would

  • 0

Let me please state my scenario.

I have an application in which I would play around with some data, thats stored in the Database. For, eg: a gaming application.

1) Right now, say my app runs at version 5. At any point when playing with my app, if I feel that the currently added feature ( Feature 5 ) is not appropriate, I would like to switch back to a previous version of the application ( say, version 4 in which Features 1, 2, 3 & 4 are implemented ).

2) This means that I need a versioning system implemented at the Database level so that I could run my application with the data required for the previous version(version 4).
In simple sense, I don’t want any of the data( related to feature 5) I recently added in the production database so that I could run my application at Version 4.

3)Later, after more developments when I feel that feature 5 is stable, I would like to check in version 6 of my application and make it live.

4) Version 1, 2, 3 & 4, 5 are like checkpoints : Thats the stage when I decide that my app is good to go live. I want the capability to switch between versions and make them live as and when required.

5) Also, to clarify: A checked in version cannot be then modified upon. Which means once a checkpoint, say version 3 is set, any more changes to that version is not possible.

Please state whats the appropriate method to implement this versioning system at the database level. I have thought of a few options like, using hive to backup the data at the version point, and store as many versions of data of the application in hive. I do think this would work, but it certainly doesn’t look hunky-dorry. What I would like to know is that – Is the method what I stated a good enough option to proceed, or are there some open source application that gives me the power to version the data in my database right away? Any other suggestions or ideas are most welcome and appreciated.

Proposed Implementation:

What i do think of doing based on @Sameera’s answer.

1) Create a new versions table and relate it to the applications table.

2) Associate other tables, that were previously related to the applications table, now to the versions table.

3) Each versions table will have a state attribute 0, 1 or 2: 1 for dev, 2 for live and 0 for dead as of now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:30:18+00:00Added an answer on June 17, 2026 at 9:30 am

    I think your requirement is kinda unusual 🙂 and the proposed solution will too 😀 (Assuming i got your question right)

    Following is a basic structure that I think will work

    You could have a table with all the versions and links to the new features

    Ex: if you add a module to pick a gun, in ver5 your link to pick a gun will be added to a table with version number

    version | module 
    1       | basic_game
    2       |  gun
    

    So then according to the user selected version, you load all the modules and their layouts dynamically.

    By this was your users will not hit the db with new changes and you dont want to version the db. (and the other thing is even if you version the db you should have a way of controlling the code as well)

    I’m not sure if this applicable to you, but this is a one solution that I could think of

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

please let me know a java multithread application which i can refer ( source
Please let me know under which subclass of the ASTNode (org.eclipse.jdt.core.dom.ASTNode) the statements with
Please let me know if you have any idea about it. Thanks EDIT What
Please let me know how to get the client IP address, I have tried
Please let me know how to delete n-rows in android sqlite database. I used
I am thinking of using some spare time to play around with designing and
I'm building a web application which has some processing of user requests involved. A
To clarify, Let us say I have users and userstats in my database and
Please let me know what are default locations for Downloads folder on devices with
Please let me know the difference between ~ and ! operator in java.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.