You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 if you're having issues that look like the following:
➜ shmig status
shmig: creating migrations table: shmig_version
Error: near line 1: table `shmig_version` already exists
Try adding this to your shmig.conf to reset sqlite3 to its default client mode.
ARGS="-list -noheader"
or use -a "-list -noheader" on the command line.
For reference, my .sqliterc is as follows:
.headers on
.mode line
The text was updated successfully, but these errors were encountered:
Hi, I was having a difficult time getting the tool to work until I realized that my personal
~/.sqliterc
file was causinggrep
to fail in the shmig script. So if you're having issues that look like the following:➜ shmig status shmig: creating migrations table: shmig_version Error: near line 1: table `shmig_version` already exists
Try adding this to your
shmig.conf
to reset sqlite3 to its default client mode.ARGS="-list -noheader"
or use
-a "-list -noheader"
on the command line.For reference, my
.sqliterc
is as follows:The text was updated successfully, but these errors were encountered: