A standalone diesel cli for migrations. https://github.com/kruxia/diesel
959
To install, include the following in your Dockerfile:
COPY --from=kruxia/diesel:buster-slim /usr/local/bin/diesel /usr/local/bin/diesel
Then, inside the running container, you can generate and run migrations:
$ mkdir migrations
$ diesel migration generate <name>
# ... (edit the "up" SQL file, at least) ...
$ diesel migration run
Content type
Image
Digest
Size
32.5 MB
Last updated
almost 6 years ago
docker pull kruxia/diesel