From 90875517da555a256681d717942a880080fad4ed Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:17:10 +0000 Subject: [PATCH] docs(#55): Add clearer migration commands --- docs/database-setup.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/database-setup.md b/docs/database-setup.md index 00f6553..227279a 100644 --- a/docs/database-setup.md +++ b/docs/database-setup.md @@ -79,7 +79,13 @@ There are two options to create a migration file: ## Applying migrations -Reset database in cloud +To do so without resetting the database, you can use the following command: + +`npx supabase migration up` + +And for the database in the cloud: + +`npx supabase db push` > Prerequisite login using `npx supabase login`