Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sdboyer/db_whitelist
A framework for dump-reducing sql for smaller datasets
https://github.com/sdboyer/db_whitelist
Last synced: about 1 month ago
JSON representation
A framework for dump-reducing sql for smaller datasets
- Host: GitHub
- URL: https://github.com/sdboyer/db_whitelist
- Owner: sdboyer
- Created: 2014-01-16T18:58:14.000Z (almost 11 years ago)
- Default Branch: whitelist
- Last Pushed: 2014-01-16T18:58:53.000Z (almost 11 years ago)
- Last Synced: 2023-04-11T19:34:36.682Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 172 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Running the script
==================
./sanitize_db.py
Options:
-h, --help show this help message and exit
-d DESTDB, --dest-db=DESTDB
The name of the database we insert into.
-s SOURCEDB, --src-db=SOURCEDB
The name of the database we select from.
-p DATASET, --data-profile=DATASET
Pick the data profile whitelist overlay. (boss or
skeleton)Setting up a new site
=====================1. Copy the project into a new folder
2. Delete the whitelist file
3. Run the script to get the new schema
4. Put the new schema and put into a new whitelist file
5. Mark tables and columns with ignore and nodata tags
6. Run it and fix the errors in the table_config files
7. Create or update profiles if needed (boss, skeleton)