Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
35524573
Commit
35524573
authored
Jun 01, 2016
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12614 from edx/renzo/prevent-catalog-caching
Prevent dumpdata from dumping api_admin's Catalog model
parents
a7d036f9
835c9cc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/reset-test-db.sh
+2
-2
No files found.
scripts/reset-test-db.sh
View file @
35524573
...
...
@@ -92,8 +92,8 @@ else
# Dump the schema and data to the cache
echo
"Using the dumpdata command to save the
$db
fixture data to the filesystem."
./manage.py lms
--settings
bok_choy dumpdata
--database
$db
>
$DB_CACHE_DIR
/bok_choy_data_
$db
.json
echo
"Saving the schema of the
$d
h
bok_choy DB to the filesystem."
./manage.py lms
--settings
bok_choy dumpdata
--database
$db
>
$DB_CACHE_DIR
/bok_choy_data_
$db
.json
--exclude
=
api_admin.Catalog
echo
"Saving the schema of the
$d
b
bok_choy DB to the filesystem."
mysqldump
-u
root
--no-data
--skip-comments
--skip-dump-date
"
${
databases
[
$db
]
}
"
>
$DB_CACHE_DIR
/bok_choy_schema_
$db
.sql
# dump_data does not dump the django_migrations table so we do it separately.
...
...
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