Skip to content

Instantly share code, notes, and snippets.


While trying to upgrade to an MM version >= 6.0.x, you might encounter an error of the form:

Failed to alter column type. It is likely you have invalid JSON values in the column. Please fix the values manually and run the migration again.

This means the particular column has some invalid JSON values which need to be fixed manually. A common fix that has known to work is to wipe out all \u0000 characters.

Follow these steps:

agnivade / commit_msg.go
Last active Jul 9, 2021
Add release notes to commit message
View commit_msg.go
package main
import (
View LSP.sublime-settings
"command": ["/home/agniva/go/bin/gopls",
"enabled": true,
agnivade / commit-msg
Last active Oct 19, 2021
Bash file to check commit message structure
View commit-msg
while IFS='' read -r line || [[ -n "$line" ]]; do
if [ $cnt -eq 1 ]; then
# Checking if subject exceeds 50 characters
if [ $length -gt 50 ]; then
echo "Your subject line exceeds 50 characters."
agnivade / vimrc
Last active Aug 29, 2015
my vimrc file
View vimrc
set number
set tabstop=2
set expandtab
set smartindent
set autoindent
set smarttab
set shiftwidth=2
set ignorecase
set incsearch
set hls