我找不到任何地方如何使用「--exclude」。 當我嘗試這個代碼「heroku db:pull --exclude table_name」如何排除多個表?
heroku help db:pull
我得到這個:
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
好,我知道如何使用「-e」有一個表,但是我想排除多個表。 它不工作:
heroku db:pull -e users, versions
如果我不得不做出基於常用的命令行約定我說'-e「用戶版本」'一個猜測,但是這只是一個有幾種可能性。不過,如果出於某種原因,您確實需要報價。 –