Skip to content

Commit

Permalink
Merge pull request #122 from ineesalmeida/add-detail-to-apply-schema-…
Browse files Browse the repository at this point in the history
…changes

Add details about applying a specific schema change locally
  • Loading branch information
ineesalmeida authored Oct 9, 2024
2 parents b6df099 + eaaadc4 commit 0f511f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions how-to/apply-schema-changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ please run the following command:
.. code-block:: bash
make -C database/schema test
If you only want to apply one specific patch for testing purposes, you can
run the following command:

.. code-block: bash
psql launchpad_dev -1 -f <your-patch>.sql
This comment will apply file (``-f``) ``<your-patch>.sql`` as a single
transaction (``-1``) to the database named ``launchpad_dev``.

0 comments on commit 0f511f7

Please sign in to comment.