PHP Class RachidLaasri\LaravelInstaller\Helpers\DatabaseManager

Exibir arquivo Open project: RachidLaasri/LaravelInstaller Class Usage Examples

Public Methods

Method Description
migrateAndSeed ( ) : array Migrate and seed the database.

Private Methods

Method Description
migrate ( ) : array Run the migration and call the seeder.
response ( $message, string $status = 'danger' ) : array Return a formatted error messages.
seed ( ) : array Seed the database.
sqlite ( ) check database type. If SQLite, then create the database file.

Method Details

migrateAndSeed() public method

Migrate and seed the database.
public migrateAndSeed ( ) : array
return array