.PHONY: dump-schema dump-data

help:
	# Run "make dump-all" to download current DEV mysql data for ows_podcast and store as ows_podcast.sql
	exit

dump-all: dump-schema dump-data dump-concat

dump-schema:
	./dump-dev.sh -d > dev-schema.sql

dump-data:
	./dump-dev.sh -t --extended-insert=FALSE > dev-data.sql

dump-concat:
	# join dump-schema.sql and dump-data.sql into schema.sql for using in docker-compose
	cat dev-schema.sql dev-data.sql > ows_podcast.sql
