shmig
shmig copied to clipboard
Database migration tool written in BASH.
Hi, I was having a difficult time getting the tool to work until I realized that my personal `~/.sqliterc` file was causing `grep` to fail in the shmig script. So...
Hi all, I'm having an issue when try to shmig up/down in my server and got an error message like this ``` /usr/local/bin/shmig: line 607: /tmp/shmig-migration-error.10521.tmp: Permission denied error ```...
Hi. I'll try use shmig in docker compose with mariadb 10.3 Migrate success but I get error when tool try write migrate table ``` ERROR 1264 (22003) at line 4:...
``` Marks-MBP-3:shmig mark$ ./shmig -c test /bin/test: line 1: ????: command not found Usage: shmig [options] [arguments...] Common options: -d -t [mysql|postgresql|sqlite3] -h and action is one of create, up,...
It seems to me (after reading `shmig` source code), it's not safe to run multiple `shmig up` commands at the same time. It could happen in real life if one...
mktemp
Forks keep replacing the weird way I create temp files with `mktemp`. Originally, @naquad used pipes, which are generally a better solution than temp files. I switched to temp files...
Sorry to hammer you with change requests :P. I just thought that allowing recursion in migration directories would make a practical implementation of different migration environments easier. For example: ```...
There is a project aiming at a single CLI for any* database: https://github.com/xo/usql It looks like a worthy candidate
```shmig: () is not available``` is not super helpful.
It would be great if shmig allowed easy running of sql in the target database according to its config.