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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:08:57+00:00 2026-05-26T02:08:57+00:00

As I release versions of software and branch versions for each release, how can

  • 0

As I release versions of software and branch versions for each release, how can I easily generate update/patch scripts for the versions? I can’t open the database projects and compare them because they are named the same and visual studio doesn’t like that.

The next idea I had was deploying lower version to a database and then generating a change script by opening up the next version of the software. This seems like it would be a bit tedious.

Also, how would one go about integrating this into a setup project instead of a manual process?

  • 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-26T02:08:58+00:00Added an answer on May 26, 2026 at 2:08 am

    Even if you were using the new Entity Framework you still can’t get Visual Studio etc to track changes in a database schema automatically for you, you’d have to track the changes between versions manually and apply them (usually when the upgraded app runs for the first time).

    I would suggest…

    1. Adding a version identifier to your database schema in some table.
    2. Tracking all database schema changes between versions, if you use MySQL for example, then Toad will make a repository (SVN for example) commit every time you make a schema change, which makes logging changes easier.
    3. When you deploy a new version, tally up all your schema changes and mark them as the change set from version Y to version Z.
    4. When your app runs for first time (so not with the setup program but with the app itself), lookup the version in the schema, and apply each update script until you reach the version of the app. So if the app runs and discovers schema X, it’ll run script Y and then script Z.

    This is how most apps run, wordpress, blogengine.net for example; all run in this mannor, when releasing they provide one script to create the schema from scratch, and another to update it from the last released version.

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

Sidebar

Related Questions

We are managing our software versions as branches in Subversion. The latest upcoming release
My organisation is preparing to release an open-source version of our software using github,
I want to setup the TFS to build both Debug and Release versions of
We re-branched our release version of code to create a new Development branch. Since
I downloaded a pre-release version of the iPhone SDK and tried to update one
I am part of a team that releases versions of our software 4-5 times
I have a git repository for a project at work. Each time we release
In beta testing a new release of my software, several users reported exceptions when
I am developing software in C#/.NET but I guess the question can be asked
I want to get a ordered list of my software releases based on each

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.