Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add details about applying a specific schema change locally #122

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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``.
Loading