Updating a Production Database

Here’s a tip on how to easily update the database of a CodeFluent Entities application that is already in production.

Say your application is already in production, and meanwhile you added some extra features, made some bug fixes, and etc. which in the end changed the schema of your database.

The trick to easily update the schema of your application is to leverage CodeFluent Entities’ diff engine to update your application.

To do so:

  • Backup your production database,
  • On your development environment, run your SQL Server producer on it!
  • Restore the updated database on the production server,
  • Don’t forget to update upper layers as well Smile
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s