-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
70 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
**Tested up to:** 4.9 | ||
|
||
**Stable tag:** 0.21.9 | ||
**Stable tag:** 0.21.10 | ||
|
||
**License:** GPLv3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,31 @@ | ||
-- SHOW TABLE STATUS; | ||
-- All table names here use default table prefix "wp_" | ||
-- It's defined in your wp-config.php by string like: | ||
-- $table_prefix = 'wp_'; | ||
-- If your setting not default, then just replace in this script "wp_" onto your setting. | ||
|
||
-- DROP SCHEMA IF EXISTS wp_testing2; CREATE SCHEMA wp_testing2; | ||
|
||
-- USE wp_testing; | ||
-- !!! WARNING !!! | ||
-- This script will erase completely your's database part, related to wp-testing plugin. | ||
-- So if you alerady has some tests/passings/scores, then you must not run this script. | ||
-- !!! WARNING !!! | ||
|
||
SET FOREIGN_KEY_CHECKS = 0; | ||
|
||
DROP TABLE IF EXISTS wp_t_answers; | ||
DROP TABLE IF EXISTS wp_t_answers_parameters; | ||
DROP TABLE IF EXISTS wp_t_parameters; | ||
DROP TABLE IF EXISTS wp_t_questions; | ||
DROP TABLE IF EXISTS wp_t_scales; | ||
DROP TABLE IF EXISTS wp_t_scales_tests; | ||
DROP TABLE IF EXISTS wp_t_schema_migrations; | ||
DROP TABLE IF EXISTS wp_t_tests; | ||
|
||
DROP TABLE IF EXISTS wp_t_field_values; | ||
DROP TABLE IF EXISTS wp_t_formulas; | ||
DROP TABLE IF EXISTS wp_t_passing_answers; | ||
DROP TABLE IF EXISTS wp_t_passings; | ||
DROP TABLE IF EXISTS wp_t_scores; | ||
DROP TABLE IF EXISTS wp_t_sections; | ||
DROP TABLE IF EXISTS wp_t_answers; | ||
DROP TABLE IF EXISTS wp_t_fields; | ||
DROP TABLE IF EXISTS wp_t_questions; | ||
DROP TABLE IF EXISTS wp_t_computed_variables; | ||
|
||
SET FOREIGN_KEY_CHECKS = 1; | ||
|
||
DELETE FROM wp_posts WHERE post_title LIKE '%EPI%'; | ||
DELETE FROM wp_terms WHERE term_id > 1; | ||
DELETE FROM wp_postmeta WHERE post_id NOT IN ( | ||
SELECT ID FROM wp_posts | ||
); | ||
|
||
DELETE FROM wp_term_relationships WHERE object_id NOT IN ( | ||
SELECT ID FROM wp_posts | ||
); | ||
DELETE FROM wp_term_taxonomy where taxonomy like 'wpt\_%'; | ||
|
||
DELETE FROM wp_postmeta where meta_key like 'wpt_%'; | ||
DELETE FROM wp_posts WHERE post_type = 'wpt_test'; | ||
DELETE FROM wp_term_taxonomy where taxonomy like 'wpt_%'; | ||
DELETE FROM wp_term_relationships WHERE term_taxonomy_id NOT IN (SELECT term_taxonomy_id FROM wp_term_taxonomy); | ||
DELETE FROM wp_terms WHERE term_id NOT IN (SELECT term_id FROM wp_term_taxonomy); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters