File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ REMOTE_SSH_USERNAME=
37
37
REMOTE_DATABASE_HOST=
38
38
39
39
REMOTE_DATABASE_USERNAME=
40
+ REMOTE_DATABASE_PORT=3306
40
41
REMOTE_DATABASE_NAME=
41
42
REMOTE_DATABASE_PASSWORD=
42
43
REMOTE_DATABASE_IGNORE_TABLES=''
@@ -49,6 +50,7 @@ For only MySQL remote connections:
49
50
```
50
51
REMOTE_DATABASE_HOST=
51
52
REMOTE_DATABASE_USERNAME=
53
+ REMOTE_DATABASE_PORT=3306
52
54
REMOTE_DATABASE_NAME=
53
55
REMOTE_DATABASE_PASSWORD=
54
56
REMOTE_DATABASE_IGNORE_TABLES=''
@@ -80,3 +82,16 @@ Run the command without attempting to export:
80
82
``` bash
81
83
php artisan db:production-sync --test
82
84
```
85
+
86
+ ## Aliases
87
+
88
+ There are shortcuts that can be used:
89
+
90
+ ` -T ` = will use ` --test `
91
+ ` F ` = will use ` --filename `
92
+
93
+ ## Alternative name
94
+
95
+ When connecting to a none production database, say a staging database you can choose to use this alternative name:
96
+
97
+ ` db:remote-sync ` may be used instead of ` db:production-sync `
You can’t perform that action at this time.
0 commit comments