예제 #1
0
 /**
  * Creates a new database schema.
  * 
  * @param  string $schemaName
  * @return bool
  */
 public function createSchema($schemaName)
 {
     $schema = $this->schemaDriver->createSchema($schemaName);
     $this->repository->setSource($schemaName);
     $this->repository->createRepository();
     return $schema;
 }
예제 #2
0
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $this->repository->setSource($this->input->getOption('database'));
     $this->repository->createRepository();
     $this->info("Migration table created successfully.");
 }