In Magento 2.3 :
The <module_vendor>/<module_name>/etc/db_schema_whitelist.json file provides a history of all tables, columns, and keys added with declarative schema. It is required to allow drop operations. It can be generated manually or created automatically with the following command:
bin/magento setup:db-declaration:generate-whitelist [options]
[options] can be:
--module-name[=MODULE-NAME] specifies which module to generate a whitelist for. If no module name is specified, then the default behavior is to generate a whitelist for all modules. You can also explicitly set --module-name=all.
When creating a new table, remember to generate the db_schema_whitelist.json file.
As a best practice, you should generate a new whitelist file for each release. You must generate the whitelist in any release that contains changes in the db_schema.xml file.
For more detail refer below link:
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/declarative-schema/migration-commands.html#create-whitelist
For specific Module execute below command:
sudo php bin/magento setup:db-declaration:generate-whitelist --module-name=PackageName_ModuleName