Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
www-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Silvia Bindelli
www-test
Commits
38ee677a
Commit
38ee677a
authored
Jul 11, 2014
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved scrumb script
parent
3e243990
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
scrumb.sql
scrumb.sql
+6
-0
No files found.
scrumb.sql
View file @
38ee677a
...
...
@@ -38,6 +38,7 @@ VALUES (1, "admin", "434c3264048726754ee0e07e508d867e", "admin@localhost", "Euro
DELETE
FROM
drupal_system
WHERE
name
IN
(
'tweet_button'
,
'openid_test'
,
'openid_launchpad'
,
'openid_teams'
,
'googleanalytics'
,
'google_plusone'
,
'openid'
,
'fblikebutton'
,
'disqus'
);
-- Truncate tables with sensitive data
TRUNCATE
drupal_authmap
;
TRUNCATE
drupal_cache
;
TRUNCATE
drupal_cache_block
;
TRUNCATE
drupal_cache_bootstrap
;
...
...
@@ -67,3 +68,8 @@ TRUNCATE drupal_search_node_links;
TRUNCATE
drupal_search_total
;
TRUNCATE
drupal_sessions
;
TRUNCATE
drupal_watchdog
;
-- Delete sensitive variables
DELETE
FROM
drupal_variable
WHERE
name
IN
(
'drupal_secret_key'
,
'cron_key'
);
DELETE
FROM
drupal_variable
WHERE
name
LIKE
'openid_%'
;
DELETE
FROM
drupal_variable
WHERE
name
LIKE
'disqus_%'
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment