#DOCS Swagger
http://localhost:3031/swagger/index.html
MIGRATIONS
Create new migration example
migrate create -ext sql -dir migrations -seq migation_name
Run migrations
up
migrate -path migrations -database "mysql://root:test@tcp(localhost:3306)/legendary_waffle?charset=utf8mb4&parseTime=True&loc=Local" updown
migrate -path migrations -database "mysql://root:test@tcp(localhost:3306)/legendary_waffle?charset=utf8mb4&parseTime=True&loc=Local" upDUMP MYSQL
docker exec mysql sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > ./backups/backup.sql