impress-2020/scripts/db/export/schema.sh

10 lines
422 B
Bash
Raw Normal View History

yarn run --silent mysqldump --no-data openneo_impress closet_hangers closet_lists \
colors items modeling_logs parents_swf_assets pet_types pet_states species \
swf_assets users zones \
| \
sed 's/ AUTO_INCREMENT=[0-9]*//g' \
> $(dirname $0)/../schema-for-impress.sql \
&& yarn run --silent mysqldump --no-data openneo_id users \
| \
sed 's/ AUTO_INCREMENT=[0-9]*//g' \
> $(dirname $0)/../schema-for-id.sql