Skip to content

Added support of mask on the table level #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

PovilasKorop
Copy link
Contributor

Without this change, the documentation example works incorrectly: dumps the DB but doesn't use the correct mask character.

return [
    'default' => DumpSchema::define()
        ->table('users', function ($table) {
            $table->mask('password', '-');
        })
];

@mpociot mpociot merged commit e197f62 into beyondcode:main Feb 25, 2022
@mpociot
Copy link
Member

mpociot commented Feb 25, 2022

thank you, Povilas. Took me some time, sorry :D

@PovilasKorop
Copy link
Contributor Author

@mpociot no worries, you made it in February, just different year :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants