[Feature Request] schema:dump --database=db2 --migrations=db1 #48279
Unanswered
helderneves91
asked this question in
Ideas
Replies: 1 comment
-
I don't feel really confortable working in a solution to this... I have sent a PR #48280 to allow |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Imagine that the main database is
db1
and the migrations table in here, ondb1
.Imagine that we have another db, called
db2
, without the migrations table.At the moment the schema:dump allow the dump of the
db1
without any problem. Works as expected!On the other hand,
db2
doesn't have the migrations table, so, laravel will throw an error:Error Output: ================ mysqldump: [Warning] Using a password on the command line interface can be insecure. mysqldump: Couldn't find table: "migrations"
At the moment is there any way to achieve this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions