Category: Database

2016-02-10T15:21:43Z

Resolving Database Schema Conflicts

If you work on a project that uses database migrations with other developers, it is likely that you have experienced migration conflicts at some point. These occur when two or more developers are merging unrelated features to the master source control branch at around the same time, with each feature requiring different changes to the database.

In this article, I'm going to describe the problem and its solution in detail, using an actual example based on my Flask-Migrate extension. While I will be using commands that are specific to Flask-Migrate and Alembic, the solution to the problem that I present here can be adapted to other database migration frameworks.

13 comments

2012-11-04T08:00:41Z

The Flask Mega-Tutorial, Part X: Full Text Search

(Great news! There is a new version of this tutorial!)

This is the tenth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

149 comments

2012-10-06T05:43:26Z

The Flask Mega-Tutorial, Part IX: Pagination

(Great news! There is a new version of this tutorial!)

This is the ninth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

116 comments

2012-09-02T01:23:49Z

The Flask Mega-Tutorial, Part VIII: Followers, Contacts And Friends

(Great news! There is a new version of this tutorial!)

This is the eighth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

154 comments

2012-05-20T07:30:21Z

The Flask Mega-Tutorial, Part IV: Database

(Great news! There is a new version of this tutorial!)

This is the fourth article in the series in which I document my experience writing web applications in Python using the Flask microframework.

406 comments