Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
1–10 of 55 posts
Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#2Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#3Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#4Are migrations still specified in json?
The reason for JSON is because the pgroll migrations are "higher level". For example, let's say that you are adding a new unique column that should infer its data from an existing column (e.g. split `name` into `first_name` and `last_name`). The pgroll migration contains not only the info that new columns are added, but also about how to backfill the data.
The sql2pgroll converter is creating the higher level migration files, but leaves placeholder for the "up" / "down" data migrations.
The issue where sql2pgroll is tracked is this one: https://github.com/xataio/pgroll/issues/504
Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#5There must be an easier way to write migrations for pgroll though. I mean, JSON, really?
Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#6Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#7Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#8Cool new site! I got 'invalid invite' on the discord link from the front page, I only mention as I'd like to join it.
Re: Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)
#9The website generally looks good, but the font in the headings is weird. What is up with the "d" in it?!