|
8 | 8 | |-------------------------------------------------------------
|
9 | 9 | |
|
10 | 10 | | 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 |
15 | 12 | |
|
16 | 13 | */
|
17 | 14 |
|
18 | 15 | 'base_path' => '',
|
19 |
| - |
| 16 | + |
20 | 17 | /*
|
21 | 18 | |-------------------------------------------------------------
|
22 | 19 | | Prefix
|
23 | 20 | |-------------------------------------------------------------
|
24 | 21 | |
|
25 | 22 | | Set custom URL prefix
|
26 | 23 | | 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 |
| - | |
31 | 24 | |
|
32 | 25 | */
|
33 | 26 |
|
|
76 | 69 | |
|
77 | 70 | */
|
78 | 71 |
|
79 |
| - 'resources_path' => 'package/laravel-database-manager/publishable/assets/', |
| 72 | + 'resources_path' => 'vendor/codexshaper/laravel-database-manager/publishable/assets/', |
80 | 73 |
|
81 | 74 | /*
|
82 | 75 | |-------------------------------------------------------------
|
|
87 | 80 | |
|
88 | 81 | */
|
89 | 82 |
|
90 |
| - 'views' => 'package/laravel-database-manager/publishable/views', |
| 83 | + 'views' => 'vendor/codexshaper/laravel-database-manager/publishable/views', |
91 | 84 |
|
92 | 85 | /*
|
93 | 86 | |-------------------------------------------------------------
|
|
113 | 106 | */
|
114 | 107 |
|
115 | 108 | '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 |
118 | 111 | ],
|
119 | 112 | 'user' => [
|
120 | 113 | 'model' => 'App\\User',
|
121 | 114 | 'table' => 'users',
|
122 |
| - // 'local_key' => '_id', // MongoDB |
123 |
| - 'local_key' => 'id', // Others |
| 115 | + 'local_key' => '_id', // MongoDB |
| 116 | + // 'local_key' => 'id', // Others |
124 | 117 | 'display_name' => 'name',
|
125 | 118 | ],
|
126 | 119 | ],
|
|
153 | 146 | 'backup' => [
|
154 | 147 | // Mysql
|
155 | 148 | 'mysql' => [
|
156 |
| - 'binary_path' => "", // c:\\xampp\\mysql\\bin\\ |
| 149 | + 'binary_path' => '', // c:\\xampp\\mysql\\bin\\ |
157 | 150 | ],
|
158 | 151 | // Sqlite 3
|
159 | 152 | 'sqlite' => [
|
160 |
| - 'binary_path' => "", // C:\\sqlite3\\ |
| 153 | + 'binary_path' => '', // C:\\sqlite3\\ |
161 | 154 | ],
|
162 | 155 | // Postgree Sql
|
163 | 156 | 'pgsql' => [
|
164 |
| - 'binary_path' => "", // C:\\pgsql\\bin\\ |
| 157 | + 'binary_path' => '', // C:\\pgsql\\bin\\ |
165 | 158 | ],
|
166 | 159 | // MongoDB
|
167 | 160 | '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', |
170 | 163 | ],
|
171 | 164 | // Backup Directry in /storage/app/
|
172 | 165 | 'dir' => 'backups',
|
173 | 166 | // Enable compression. By default true
|
174 | 167 | 'compress' => true,
|
175 | 168 | // Set compressor binary path to execute compression
|
176 |
| - 'compress_binary_path' => "", |
| 169 | + 'compress_binary_path' => '', |
177 | 170 | // Set compressor extension
|
178 |
| - 'compress_extension' => ".gz", |
| 171 | + 'compress_extension' => '.gz', |
179 | 172 | // Set compress command
|
180 |
| - 'compress_command' => "gzip", |
| 173 | + 'compress_command' => 'gzip', |
181 | 174 | // Set uncompress command
|
182 |
| - 'uncompress_command' => "gunzip", |
| 175 | + 'uncompress_command' => 'gunzip', |
183 | 176 | // Enable debug when developemnt mode. By default false
|
184 | 177 | 'debug' => false,
|
185 | 178 | ],
|
|
188 | 181 | | Core
|
189 | 182 | |-------------------------------------------------------------
|
190 | 183 | |
|
191 |
| - | Define core tables that are not allowed to Delete or modify |
| 184 | + | Here you can set backup config |
192 | 185 | |
|
193 | 186 | */
|
194 | 187 | 'core' => [
|
195 | 188 | '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', |
203 | 196 | ],
|
204 | 197 | ],
|
205 | 198 |
|
|
0 commit comments