Category – PostgreSQL
3 posts tagged with "PostgreSQL" (See all categories)

MMigrating Data along with the Schema

05/22/20193 Min Read — In Rails, PostgreSQL

It all started with wanting to move a column from one table to another. The schema changes were straightforward enough. We wanted to keep the data as well, so that too needed to be migrated. We wrote…

AAdd and Remove Unique Constraints in PostgreSQL

04/13/20191 Min Read — In PostgreSQL

Constraints are a great way to ensure that an app's data conforms to certain business rules. For instance, many apps have user accounts that are identified by an email address. If a person's email…