impress-2020/scripts/db/export/schema.sh
Emi Matchu 505f420d96 Update public data SQL dump, mainly to add alt styles
Note also the change to the public-data-constants, because we've
started (but not finished) moving name fields into the rows themselves
and deprecating the translations.
2024-02-01 02:01:50 -08:00

11 lines
No EOL
502 B
Bash
Executable file

yarn run --silent mysqldump --no-data openneo_impress closet_hangers closet_lists \
colors color_translations items item_translations modeling_logs \
parents_swf_assets pet_types pet_states species species_translations \
swf_assets users zones zone_translations \
| \
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