"heroku db:pull --exclude table_name"如何排除多个表?

Fur*_*han 5 database heroku

我找不到任何地方如何使用"--exclude".当我尝试这个代码

heroku help db:pull
Run Code Online (Sandbox Code Playgroud)

我明白了:

Usage: heroku db:pull [DATABASE_URL]

 pull heroku data down into your local database

 DATABASE_URL should reference your local database. if not specified, it
 will be guessed from config/database.yml

 -c, --chunksize SIZE # specify the number of rows to send in each batch
 -d, --debug          # enable debugging output
 -e, --exclude TABLES # exclude the specified tables from the pull
 -f, --filter REGEX   # only pull certain tables
 -r, --resume FILE    # resume transfer described by a .dat file
 -t, --tables TABLES  # only pull the specified tables
Run Code Online (Sandbox Code Playgroud)

好吧,我理解如何使用"-e"与一个表,但我想排除多个表.它不起作用:

heroku db:pull -e users, versions
Run Code Online (Sandbox Code Playgroud)

eyu*_*tis 7

这个对我有用

heroku db:pull -e "stats admins" --app APP_NAME
Run Code Online (Sandbox Code Playgroud)


Nic*_*ick 5

从文档“使用';' 拆分名称”

heroku pg:pull [DATABASE] --exclude-table-data "[FIRST_TABLE_NAME];[SECOND_TABLE_NAME]" --app [APP_NAME]