If I use one of these in my SQL migration file, golang-migrate ignores it. Nothing is logged.
RAISE INFO 'Print the message of information %', now() ;
RAISE LOG 'Print the message of log %', now();
RAISE DEBUG 'Print the message of debug %', now();
RAISE WARNING 'Print the message of warning %', now();
RAISE NOTICE 'Print the message of notice %', now();
RAISE EXCEPTION works.
I need to log messages without failing the whole migration. Can we do something about it?
If I use one of these in my SQL migration file, golang-migrate ignores it. Nothing is logged.
RAISE EXCEPTION
works.I need to log messages without failing the whole migration. Can we do something about it?