refactoring

This commit is contained in:
Ilya Rumyancev (MacBook)
2017-04-14 00:44:05 +03:00
parent a3a51c9c10
commit 9f02264965
13 changed files with 70 additions and 80 deletions

View File

@@ -12,13 +12,11 @@ class <?= $className ?> extends \devgroup\arangodb\Migration
{
public function up()
{
$this->createCollection('<?= $className ?>',[]);
}
public function down()
{
echo "<?= $className ?> cannot be reverted.\n";
return false;
$this->dropCollection('<?= $className ?>');
}
}