Skip to content

Commit

Permalink
Update 020-Getting-started/040-workflow.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: joan-ing <[email protected]>
  • Loading branch information
philkra and joan-ing authored Nov 30, 2023
1 parent 25c66db commit c954c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 020-Getting-started/040-workflow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ xata pull my_feature

On completion, notice Xata updated our client files in `src/xata.ts` and added migration files in the `.xata/migrations` folder. The later files are needed for GitHub to pick up on the changes we've made. Each time you make changes to your database branch, you will need to run `xata pull my_feature`.

### Commit your code, and create a GitHub PR
### Commit your code, and create a GitHub pull request

Once you are happy with your changes you should commit your files and create a GitHub PR for your Git branch. Xata's GitHub application will look for new files in your `.xata/migrations` folder so make sure they are included in the commit. Regardless of whether migrations are present, Xata will generate a preview branch for any PR you deploy using a `preview-{branch_name}` naming system. This is done by forking the `main` branch, applying schema migrations from the Pull Request branch and copying over sample data from `main` (excluding file attachments). The Xata app bot will leave a comment with the details.

Expand Down

0 comments on commit c954c6b

Please sign in to comment.