myt/server/docker-fixtures.sh

5 lines
95 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# FIXME: It can corrupt data
mysqldump $@ | sed -E 's/(VALUES |\),)\(/\1\n\t\(/g'