experienceolympic-com/drush/drush.yml

30 lines
1 KiB
YAML
Raw Permalink Normal View History

2023-12-05 22:07:08 +00:00
command:
sql:
dump:
options:
# Omit cache and similar tables (including during a sql:sync).
structure-tables-key: common
# Don't bother pulling migration tables at all.
skip-tables-key: common
sql:
# List of tables whose *data* is skipped by the 'sql-dump' and 'sql-sync'
# commands when the "--structure-tables-key=common" option is provided.
# You may add specific tables to the existing array or add a new element.
structure-tables:
common:
- cache
- 'cache_*'
- history
- 'search_*'
- 'sessions'
- 'watchdog'
# List of tables to be omitted entirely from SQL dumps made by the 'sql-dump'
# and 'sql-sync' commands when the "--skip-tables-key=common" option is
# provided on the command line. This is useful if your database contains
# non-Drupal tables used by some other application or during a migration for
# example. You may add new tables to the existing array or add a new element.
skip-tables:
common:
- 'migration_*'