提交 4a8a3572 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

clear data in make script

上级 b6b9f185
......@@ -47,6 +47,7 @@ copy_files:
@cp -r {data,yaml,users,demo} bin && rm -rf ${BIN_DIR}/demo/output
@mkdir -p ${BIN_DIR}/tmp/cache && sqlite3 tmp/cache/.data.db ".backup '${BIN_DIR}/tmp/cache/.data.db'"
@sqlite3 '${BIN_DIR}/tmp/cache/.data.db' ".read 'xdoc/sql.txt'"
@for subdir in `ls ${BIN_OUT}`; do cp -r {bin/data,bin/yaml,bin/users,bin/demo,bin/tmp} "${BIN_OUT}$${subdir}/zd"; done
......
无法预览此类型文件
PRAGMA secure_delete = ON;
delete from zd_def where 1=1;
delete from zd_field where 1=1;
delete from zd_ranges where 1=1;
delete from zd_ranges_item where 1=1;
delete from zd_instances where 1=1;
delete from zd_instances_item where 1=1;
delete from zd_excel where 1=1;
delete from zd_text where 1=1;
delete from zd_config where 1=1;
delete from zd_refer where 1=1;
delete from zd_section where 1=1;
vacuum;
PRAGMA secure_delete = OFF;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册