Skip to content

Override ignore_tables_out #28

Answered by kszymukowicz
einNicklas asked this question in Q&A
Discussion options

You must be logged in to vote

You wanted to unset. I did not read carefully. Sry.
Looks like the only way now is:

$tmp = get('db_databases');
unset($tmp['database_default'][0]['ignore_tables_out'][4]);
set('db_databases', $tmp);

We have it done better way in https://github.com/sourcebroker/deployer-extended-media
but for deployer-extended-database there is no yet such possiblities:

set('media_custom', [
    'exclude-case-insensitive' => [
        '__UNSET' => get('media_default')['exclude-case-insensitive'],
        '*.mp4'
    ],
]);

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kszymukowicz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #27 on September 20, 2024 11:53.