Skip to content

Commit

Permalink
Removed yii\db\Schema from use section
Browse files Browse the repository at this point in the history
Declaration of yii\db\Schema is not needed by default. Migration can be related with changing data or renaming column, so user should explicitly add it when it's needed.
  • Loading branch information
arogachev committed Aug 17, 2015
1 parent 60af9d0 commit 777c45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/views/migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
echo "<?php\n";
?>

use yii\db\Schema;
use yii\db\Migration;

class <?= $className ?> extends Migration
{

public function up()
{

Expand Down

0 comments on commit 777c45a

Please sign in to comment.