impress-2020/scripts/db/export/schema.sh
2024-02-20 16:30:32 -08:00

10 lines
No EOL
422 B
Bash
Executable file

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