diff options
| author | Jonathan Amsterdam <jba@google.com> | 2020-11-24 15:51:15 -0500 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2020-11-24 21:23:39 +0000 |
| commit | 5ffcbf8fbdd1b99bad9f1b4a4d161c725286576f (patch) | |
| tree | 3714bc3266857a7af21c004853262f01d895c91a /doc | |
| parent | b2a93659c806cd9d8a09b682e5cf5619d3599ad5 (diff) | |
| download | go-x-pkgsite-5ffcbf8fbdd1b99bad9f1b4a4d161c725286576f.tar.xz | |
doc/postgres.md: document being clearer about data migrations
Change-Id: Ic2b1e7201887ca36d58944020c78f17928262425
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/272794
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/postgres.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/postgres.md b/doc/postgres.md index b52bae61..a883dc87 100644 --- a/doc/postgres.md +++ b/doc/postgres.md @@ -118,6 +118,9 @@ the previous version, and to migrate "down" to the previous version. See [golang-migrate/migrate/MIGRATIONS.md](https://github.com/golang-migrate/migrate/blob/master/MIGRATIONS.md) for details. +If your migration requires that data be transformed, or that all modules must be +reprocessed, explain in the `up.sql` file how to carry out the data migration. + ### Applying migrations for local development Use the `migrate` CLI: |
