Skip to content

Commit

Permalink
Add comments, documents, news_posts back to sample
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Mar 10, 2021
1 parent fda64a5 commit 3b06991
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
3 changes: 0 additions & 3 deletions bin/create-sample-database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ printf "[4/7] Redacting private user information...\n"
mysql --host="${MYSQLHOST}" --user="${MYSQLUSER}" --password="${MYSQLPASS}" --database="${MYSQLSCHEMA}_backup" << EOF
START TRANSACTION;
USE ${MYSQLSCHEMA}_backup;
TRUNCATE TABLE comments;
TRUNCATE TABLE documents;
TRUNCATE TABLE event_log;
INSERT INTO event_log (id, event_type_id, event_datetime, user_id, ip_address, meta_data)
VALUES (0,0,NOW(),NULL,NULL,'Initial event log');
TRUNCATE TABLE news_posts;
TRUNCATE TABLE packet_used_by;
TRUNCATE TABLE packets;
TRUNCATE TABLE servers;
Expand Down
Loading

0 comments on commit 3b06991

Please sign in to comment.