public function save()
    {
        $file = $this->createMigrationFile();

        if (!$written = !$file) {
            $written = $this->addCallsToMigrationFile($file);
        }

        if ($this->needsLaravelModel()) {
            $this->saveModelForTable();
        }

        return $written;
    }
public function save()
    {
        $file = $this->createMigrationFile();

        if (!$written = !$file) {
            $written = $this->addCallsToMigrationFile($file);
        }

        if ($this->needsLaravelModel()) {
            $this->saveModelForTable();
        }

        return $written;
    }
public function save ( ) { $ file = $ this -> createMigrationFile ( ) ; if ( ! $ written = ! $ file ) { $ written = $ this -> addCallsToMigrationFile ( $ file ) ; } if ( $ this -> needsLaravelModel ( ) ) { $ this -> saveModelForTable ( ) ; } return $ written ; }
Saves the table in the given migration file.
@return bool
Saves the table in the given migration file .