/** * 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; }
/** * 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."); }