Fix artisan cache:table

A quick fix for the `artisan cache:table` command. It now uses `path.database` instead of `path` when creating the migration. The command would previously generate an error because it was attempting to write to a directory that did not exist.