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 699269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:22:04+00:00 2026-05-14T03:22:04+00:00

Under what circumstances (if any) would you allow an application to change its underlying

  • 0

Under what circumstances (if any) would you allow an application to change its underlying database schema? I.e. to add new column.

EDIT: A little bit of elaboration on what prompted me to ash this question. My system receives raport files from other systems and saves fetched data in “reports” table. Report includes several “parameters” which are now hard-coded: date, amount, unit_price. This parameters are saved in adequate columns in “reports” table.
We need to introduce the possibility of dynamically (via web interface) adding new parameters which can be read from report file and inserted to db.

One option is to save reports in some serialized form but there’s performance issue. There will be thousands of reports each day and there will be a need to query “reports” table by parameters’ values.

  • 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-05-14T03:22:05+00:00Added an answer on May 14, 2026 at 3:22 am

    On first load of a new version. This is especailly relevant for systems which assign a database to each unique instance. Data writes should be marked with a system variable, and tested before update with something like

    show columns from test like 'new_column';
    if ( ! new_column )
      alter table add column new_column after some_column
    

    With regards to the other posts, if you are running a system with incremental versioning on the same database schemas (but different instances of those schemas) the only way to manage that change is to programmatically update the database – otherwise you’ll have inconsistencies between the application versions (i.e. 1.0 and 1.1) and the schemas – it’s not possible to apply the database changes across all databases at the same time in this instance.

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

Sidebar

Related Questions

Under what circumstances would you use MicrosoftAjax over jQuery in an ASP.NET MVC application?
Under what circumstances would java.util.zip.ZipFile.close() throw an IOException? Its method signature indicates that it
Under what circumstances (if any) would the signal SIGSTKFLT be synchronously raised by the
Under what circumstances - if any - does adding programmers to a team actually
Is it possible under any set of circumstances to be able to accomplish this?
Under what circumstances would this or would this not be safe? I have a
Under normal circumstances, a VB.NET application of mine can check the ClientName environmental variable
Under what circumstances would it be appropriate to explicitly exclude optimistic locking from a
Under what circumstances would $array[$index] = $element; and unset($array[$index]); $array[$index] = $element; be different?
Under what circumstances might you want to use multiple indirection (that is, a chain

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.