Skip to content

Instantly share code, notes, and snippets.

@akhilesh26
Created April 10, 2019 09:41
Show Gist options
  • Save akhilesh26/2a3cf5a2127bf42d5c4cb5f656065946 to your computer and use it in GitHub Desktop.
Save akhilesh26/2a3cf5a2127bf42d5c4cb5f656065946 to your computer and use it in GitHub Desktop.

To get changes on schema for rename entities, follow the steps:

From previous to current:

Step 1: psql -U postgres -h localhost bookbrainz -f sql/migrations/import/up.sql
Step 2: psql -U postgres -h localhost bookbrainz -f sql/migrations/2019-04/up.sql
Step 3: psql -U postgres -h localhost bookbrainz -f sql/scripts/create_triggers.sql

From current to previous:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment