bantenprov / retribusi-pelayanan-kesehatan
Retribusi Pelayanan Kesehatan
dev-master
2018-05-19 15:50 UTC
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*|5.5.*
This package is not auto-updated.
Last update: 2024-12-22 06:45:33 UTC
README
retribusi-pelayanan-kesehatan
Retribusi Pelayanan Kesehatan
Repository untuk membuat atau melakukan proses data retribusi pelayanan kesehatan
Install package :
$ composer require bantenprov/retribusi-pelayanan-kesehatan:dev-master
Edit config/app.php
If you use laravel 5.4
providers
'providers' => [ ... App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, ... Bantenprov\PelayananKesehatan\PelayananKesehatanServiceProvider::class, Emadadly\LaravelUuid\LaravelUuidServiceProvider::class,
aliases
'aliases' => [ ... 'Storage' => Illuminate\Support\Facades\Storage::class, 'URL' => Illuminate\Support\Facades\URL::class, 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, ... 'Opd' => Bantenprov\PelayananKesehatan\Facades\PelayananKesehatan::class,
Artisan command :
$ php artisan vendor:publish --tag=migrations
$ php artisan vendor:publish --tag=views
$ php artisan vendor:publish --provider="Emadadly\LaravelUuid\LaravelUuidServiceProvider"
Edit config/uuid.php
Change 'default_uuid_column' => 'uuid'
to 'default_uuid_column' => 'id'
'default_uuid_column' => 'id',
Edit "vendor/kalnoy/nestedset/src/NestedSet.php"
Change $table->unsignedInteger(self::PARENT_ID)->nullable();
to $table->string(self::PARENT_ID)->nullable();
public static function columns(Blueprint $table) { $table->unsignedInteger(self::LFT)->default(0); $table->unsignedInteger(self::RGT)->default(0); $table->string(self::PARENT_ID)->nullable(); $table->index(static::getDefaultColumns()); }
Run artisan command :
$ php artisan migrate