src/Controllers/InstallController.php
public function inactiveMigrations()
    {
        $inactiveMigrations = [];
        $migration_arr = [];

        // Package Migrations
        $tables = $this->migrations_tables;

        // Application active migrations
        $migrations = DB::select('select * from '.DB::getTablePrefix().'migrations');

        foreach ($migrations as $migration_parent) { // Count active package migrations
            $migration_arr[] = $migration_parent->migration;
        }

        foreach ($tables as $table) {
            if (!in_array($table, $migration_arr)) {
                $inactiveMigrations[] = $table;
            }
        }

        return $inactiveMigrations;
    }
public function inactiveMigrations()
    {
        $inactiveMigrations = [];
        $migration_arr = [];

        // Package Migrations
        $tables = $this->migrations_tables;

        // Application active migrations
        $migrations = DB::select('select * from '.DB::getTablePrefix().'migrations');

        foreach ($migrations as $migration_parent) { // Count active package migrations
            $migration_arr[] = $migration_parent->migration;
        }

        foreach ($tables as $table) {
            if (!in_array($table, $migration_arr)) {
                $inactiveMigrations[] = $table;
            }
        }

        return $inactiveMigrations;
    }
public function inactiveMigrations ( ) { $ inactiveMigrations = [ ] ; $ migration_arr = [ ] ; // Package Migrations $ tables = $ this -> migrations_tables ; // Application active migrations $ migrations = DB :: select ( 'select * from ' . DB :: getTablePrefix ( ) . 'migrations' ) ; foreach ( $ migrations as $ migration_parent ) { // Count active package migrations $ migration_arr [ ] = $ migration_parent -> migration ; } foreach ( $ tables as $ table ) { if ( ! in_array ( $ table , $ migration_arr ) ) { $ inactiveMigrations [ ] = $ table ; } } return $ inactiveMigrations ; }
Get all Ticketit Package migrations that were not migrated.

@return array
Get all Ticketit Package migrations that were not migrated .