PHP Class RachidLaasri\LaravelInstaller\Helpers\DatabaseManager

Afficher le fichier Open project: RachidLaasri/LaravelInstaller Class Usage Examples

Méthodes publiques

Méthode Description
migrateAndSeed ( ) : array Migrate and seed the database.

Private Methods

Méthode 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 méthode

Migrate and seed the database.
public migrateAndSeed ( ) : array
Résultat array