Skip to content

Commit

Permalink
Add details about applying a specific schema change locally
Browse files Browse the repository at this point in the history
  • Loading branch information
ineesalmeida committed Oct 8, 2024
1 parent b6df099 commit eaaadc4
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 eaaadc4

Please sign in to comment.