質問編集履歴

2

ファイル名を微変更

2020/08/20 13:55

投稿

yonn
yonn

スコア120

test CHANGED
File without changes
test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
  "url" => null,
54
54
 
55
- "database" => "/home/vagrant/sister_Lara/laravel/database/database.sqlite",
55
+ "database" => "/home/vagrant/Lara/laravel/database/database.sqlite",
56
56
 
57
57
  "prefix" => "",
58
58
 

1

php artisan tinkerの追加

2020/08/20 13:55

投稿

yonn
yonn

スコア120

test CHANGED
File without changes
test CHANGED
@@ -32,6 +32,172 @@
32
32
 
33
33
 
34
34
 
35
+ ```ここに言語を入力
36
+
37
+ # php artisan tinker
38
+
39
+ Psy Shell v0.9.12 (PHP 7.2.24-0ubuntu0.18.04.6 ― cli) by Justin Hileman
40
+
41
+ >>> config('database')
42
+
43
+ => [
44
+
45
+ "default" => "sqlite",
46
+
47
+ "connections" => [
48
+
49
+ "sqlite" => [
50
+
51
+ "driver" => "sqlite",
52
+
53
+ "url" => null,
54
+
55
+ "database" => "/home/vagrant/sister_Lara/laravel/database/database.sqlite",
56
+
57
+ "prefix" => "",
58
+
59
+ "foreign_key_constraints" => true,
60
+
61
+ ],
62
+
63
+ "mysql" => [
64
+
65
+ "driver" => "mysql",
66
+
67
+ "url" => null,
68
+
69
+ "host" => "127.0.0.1",
70
+
71
+ "port" => "3306",
72
+
73
+ "database" => "forge",
74
+
75
+ "username" => "forge",
76
+
77
+ "password" => "",
78
+
79
+ "unix_socket" => "",
80
+
81
+ "charset" => "utf8mb4",
82
+
83
+ "collation" => "utf8mb4_unicode_ci",
84
+
85
+ "prefix" => "",
86
+
87
+ "prefix_indexes" => true,
88
+
89
+ "strict" => true,
90
+
91
+ "engine" => null,
92
+
93
+ "options" => [],
94
+
95
+ ],
96
+
97
+ "pgsql" => [
98
+
99
+ "driver" => "pgsql",
100
+
101
+ "url" => null,
102
+
103
+ "host" => "127.0.0.1",
104
+
105
+ "port" => "5432",
106
+
107
+ "database" => "forge",
108
+
109
+ "username" => "forge",
110
+
111
+ "password" => "",
112
+
113
+ "charset" => "utf8",
114
+
115
+ "prefix" => "",
116
+
117
+ "prefix_indexes" => true,
118
+
119
+ "schema" => "public",
120
+
121
+ "sslmode" => "prefer",
122
+
123
+ ],
124
+
125
+ "sqlsrv" => [
126
+
127
+ "driver" => "sqlsrv",
128
+
129
+ "url" => null,
130
+
131
+ "host" => "localhost",
132
+
133
+ "port" => "1433",
134
+
135
+ "database" => "forge",
136
+
137
+ "username" => "forge",
138
+
139
+ "password" => "",
140
+
141
+ "charset" => "utf8",
142
+
143
+ "prefix" => "",
144
+
145
+ "prefix_indexes" => true,
146
+
147
+ ],
148
+
149
+ ],
150
+
151
+ "migrations" => "migrations",
152
+
153
+ "redis" => [
154
+
155
+ "client" => "predis",
156
+
157
+ "options" => [
158
+
159
+ "cluster" => "predis",
160
+
161
+ "prefix" => "laravel_database_",
162
+
163
+ ],
164
+
165
+ "default" => [
166
+
167
+ "url" => null,
168
+
169
+ "host" => "127.0.0.1",
170
+
171
+ "password" => null,
172
+
173
+ "port" => "6379",
174
+
175
+ "database" => 0,
176
+
177
+ ],
178
+
179
+ "cache" => [
180
+
181
+ "url" => null,
182
+
183
+ "host" => "127.0.0.1",
184
+
185
+ "password" => null,
186
+
187
+ "port" => "6379",
188
+
189
+ "database" => 1,
190
+
191
+ ],
192
+
193
+ ],
194
+
195
+ ]
196
+
197
+ ```
198
+
199
+
200
+
35
201
 
36
202
 
37
203
  Laravel Framework 5.8.36