aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/system/Bakery/Command/Migrate.php
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/system/Bakery/Command/Migrate.php')
-rw-r--r--main/app/system/Bakery/Command/Migrate.php47
1 files changed, 0 insertions, 47 deletions
diff --git a/main/app/system/Bakery/Command/Migrate.php b/main/app/system/Bakery/Command/Migrate.php
deleted file mode 100644
index aad2521..0000000
--- a/main/app/system/Bakery/Command/Migrate.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- * UserFrosting (http://www.userfrosting.com)
- *
- * @link https://github.com/userfrosting/UserFrosting
- * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
- */
-
-namespace UserFrosting\System\Bakery\Command;
-
-use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-use Symfony\Component\Console\Input\InputArgument;
-use Symfony\Component\Console\Input\InputOption;
-use UserFrosting\System\Bakery\BaseCommand;
-use UserFrosting\System\Bakery\Migrator;
-
-/**
- * Migrate CLI Tools.
- * Perform database migrations commands
- *
- * @author Alex Weissman (https://alexanderweissman.com)
- */
-class Migrate extends BaseCommand
-{
- /**
- * {@inheritDoc}
- */
- protected function configure() {
- $this->setName("migrate")
- ->setDescription("Perform database migration")
- ->setHelp("This command runs all the pending database migrations.")
- ->addOption('pretend', 'p', InputOption::VALUE_NONE, 'Run migrations in "dry run" mode');
- }
-
- /**
- * {@inheritDoc}
- */
- protected function execute(InputInterface $input, OutputInterface $output) {
- $this->io->title("UserFrosting's Migrator");
-
- $pretend = $input->getOption('pretend');
-
- $migrator = new Migrator($this->io, $this->ci);
- $migrator->runUp($pretend);
- }
-} \ No newline at end of file