forked from mHealthKenya/ushauri_dashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from palladiumkenya/main
new instance configs and bug fixes
- Loading branch information
Showing
50 changed files
with
2,943 additions
and
3,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2,814 changes: 752 additions & 2,062 deletions
2,814
app/Http/Controllers/NewDashboardController.php
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace App\Models; | ||
|
||
use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
use Illuminate\Database\Eloquent\Model; | ||
use Watson\Rememberable\Rememberable; | ||
|
||
class ClientDashboard extends Model | ||
{ | ||
use HasFactory; | ||
use Rememberable; | ||
|
||
public $table = 'etl_client_dashboard'; | ||
public $timestamps = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
'default' => env('DB_CONNECTION', 'mysql'), | ||
|
||
'connections' => [ | ||
|
||
'mysql' => [ | ||
'driver' => 'mysql', | ||
'host' => env('DB_HOST', 'dod_db_host'), | ||
'port' => env('DB_PORT', '3306'), | ||
'database' => env('DB_DATABASE', 'dod_db_name'), | ||
'username' => env('DB_USERNAME', 'dod_db_user'), | ||
'password' => env('DB_PASSWORD', 'dod_db_password'), | ||
'unix_socket' => env('DB_SOCKET', ''), | ||
'charset' => 'utf8mb4', | ||
'collation' => 'utf8mb4_unicode_ci', | ||
'strict' => true, | ||
'engine' => null, | ||
], | ||
|
||
// Other database connections... | ||
|
||
], | ||
|
||
// ... | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
'default' => env('DB_CONNECTION', 'mysql'), | ||
|
||
'connections' => [ | ||
|
||
'mysql' => [ | ||
'driver' => 'mysql', | ||
'host' => env('DB_HOST', 'public_db_host'), | ||
'port' => env('DB_PORT', '3306'), | ||
'database' => env('DB_DATABASE', 'public_db_name'), | ||
'username' => env('DB_USERNAME', 'public_db_user'), | ||
'password' => env('DB_PASSWORD', 'public_db_password'), | ||
'unix_socket' => env('DB_SOCKET', ''), | ||
'charset' => 'utf8mb4', | ||
'collation' => 'utf8mb4_unicode_ci', | ||
'strict' => true, | ||
'engine' => null, | ||
], | ||
|
||
// Other database connections... | ||
|
||
], | ||
|
||
// ... | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.