Skip to content
Merged
Show file tree
Hide file tree
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
23 changes: 0 additions & 23 deletions migrations/Dockerfile.dbmate

This file was deleted.

17 changes: 0 additions & 17 deletions migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,23 +112,6 @@ dbmate --no-dump-schema --migrations-dir="migrations/db/migrations" -u "postgres

Note: Migrations are applied using the `supabase_admin` superuser role, as specified in the "How it was Created" section above.

### Adding a migration with docker-compose

dbmate can optionally be run locally using docker:

```shell
# Start the database server
docker-compose up

# create a new migration
docker-compose run --rm dbmate new '<some message>'
```

Then, populate the migration at `./db/migrations/xxxxxxxxx_<some_message>` and make sure it execute sucessfully with

```shell
docker-compose run --rm dbmate up
```
### Updating schema.sql for each major version

After making changes to migrations, you should update the schema.sql files for each major version of PostgreSQL:
Expand Down
46 changes: 0 additions & 46 deletions migrations/docker-compose.yaml

This file was deleted.

Loading