Skip to content

Commit b515b29

Browse files
committed
Fixed styleci
1 parent 5e9a86e commit b515b29

File tree

1 file changed

+25
-32
lines changed

1 file changed

+25
-32
lines changed

config/dbm.php

+25-32
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,19 @@
88
|-------------------------------------------------------------
99
|
1010
| Base URL
11-
| by default root path. You can add base path /path/to/project/public
12-
|
13-
| Don't put trailing/end slash(/)
14-
|
11+
| by default root path. You can add base path /path/to
1512
|
1613
*/
1714

1815
'base_path' => '',
19-
16+
2017
/*
2118
|-------------------------------------------------------------
2219
| Prefix
2320
|-------------------------------------------------------------
2421
|
2522
| Set custom URL prefix
2623
| by default /database . You can add prefix before /database
27-
| Currently supports only empty string. You can use it later
28-
|
29-
| Don't put trailing/end slash(/)
30-
|
3124
|
3225
*/
3326

@@ -76,7 +69,7 @@
7669
|
7770
*/
7871

79-
'resources_path' => 'package/laravel-database-manager/publishable/assets/',
72+
'resources_path' => 'vendor/codexshaper/laravel-database-manager/publishable/assets/',
8073

8174
/*
8275
|-------------------------------------------------------------
@@ -87,7 +80,7 @@
8780
|
8881
*/
8982

90-
'views' => 'package/laravel-database-manager/publishable/views',
83+
'views' => 'vendor/codexshaper/laravel-database-manager/publishable/views',
9184

9285
/*
9386
|-------------------------------------------------------------
@@ -113,14 +106,14 @@
113106
*/
114107

115108
'auth' => [
116-
"token" => [
117-
"expiry" => 24 * 60 * 60 * 1000, // 24 hours as a milliseconds
109+
'token' => [
110+
'expiry' => 24 * 60 * 60 * 1000, // 24 hours as a milliseconds
118111
],
119112
'user' => [
120113
'model' => 'App\\User',
121114
'table' => 'users',
122-
// 'local_key' => '_id', // MongoDB
123-
'local_key' => 'id', // Others
115+
'local_key' => '_id', // MongoDB
116+
// 'local_key' => 'id', // Others
124117
'display_name' => 'name',
125118
],
126119
],
@@ -153,33 +146,33 @@
153146
'backup' => [
154147
// Mysql
155148
'mysql' => [
156-
'binary_path' => "", // c:\\xampp\\mysql\\bin\\
149+
'binary_path' => '', // c:\\xampp\\mysql\\bin\\
157150
],
158151
// Sqlite 3
159152
'sqlite' => [
160-
'binary_path' => "", // C:\\sqlite3\\
153+
'binary_path' => '', // C:\\sqlite3\\
161154
],
162155
// Postgree Sql
163156
'pgsql' => [
164-
'binary_path' => "", // C:\\pgsql\\bin\\
157+
'binary_path' => '', // C:\\pgsql\\bin\\
165158
],
166159
// MongoDB
167160
'mongodb' => [
168-
'binary_path' => "", // C:\\Program Files\\MongoDB\\Server\\4.0\bin\\
169-
// "dsn" => "mongodb+srv://maab:Abuahsan91@laravel-mongodb-t5jhc.mongodb.net/laravel-database-manager",
161+
'binary_path' => '', // C:\\Program Files\\MongoDB\\Server\\4.0\bin\\
162+
// 'dsn' => 'mongodb+srv://maab:Abuahsan91@laravel-mongodb-t5jhc.mongodb.net/laravel-database-manager',
170163
],
171164
// Backup Directry in /storage/app/
172165
'dir' => 'backups',
173166
// Enable compression. By default true
174167
'compress' => true,
175168
// Set compressor binary path to execute compression
176-
'compress_binary_path' => "",
169+
'compress_binary_path' => '',
177170
// Set compressor extension
178-
'compress_extension' => ".gz",
171+
'compress_extension' => '.gz',
179172
// Set compress command
180-
'compress_command' => "gzip",
173+
'compress_command' => 'gzip',
181174
// Set uncompress command
182-
'uncompress_command' => "gunzip",
175+
'uncompress_command' => 'gunzip',
183176
// Enable debug when developemnt mode. By default false
184177
'debug' => false,
185178
],
@@ -188,18 +181,18 @@
188181
| Core
189182
|-------------------------------------------------------------
190183
|
191-
| Define core tables that are not allowed to Delete or modify
184+
| Here you can set backup config
192185
|
193186
*/
194187
'core' => [
195188
'tables' => [
196-
"dbm_objects",
197-
"dbm_fields",
198-
"dbm_permissions",
199-
"dbm_user_permissions",
200-
"dbm_collection_fields",
201-
"dbm_collections",
202-
"dbm_templates",
189+
'dbm_objects',
190+
'dbm_fields',
191+
'dbm_permissions',
192+
'dbm_user_permissions',
193+
'dbm_collection_fields',
194+
'dbm_collections',
195+
'dbm_templates',
203196
],
204197
],
205198

0 commit comments

Comments
 (0)