Skip to content

Commit

Permalink
chore: fix migration README
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Feb 22, 2024
1 parent bf8d0dd commit 937cc84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
1. Create a new file based on the current date and time (see existing migration format)
2. Copy the following code and update MY_ID_HERE and MY_COMMENT_HERE and DO_SOMETHING_HERE
3. Add the ID to the list of migrations in migrate.go
4. If possible, add a rollback function.

*For Postgres/Sqlite specific migrations, see the [initial migration](202402161653.go)*

```go
package migrations
Expand Down

0 comments on commit 937cc84

Please sign in to comment.