Browse Source

Fix imports

tags/2.0.13
Sergey Makinen 7 years ago
parent
commit
71a23cff50
No known key found for this signature in database
GPG Key ID: D227B0B214A978D6
  1. 1
      framework/db/Schema.php
  2. 6
      framework/db/sqlite/Schema.php

1
framework/db/Schema.php

@ -12,6 +12,7 @@ use yii\base\InvalidCallException;
use yii\base\InvalidConfigException;
use yii\base\NotSupportedException;
use yii\base\Object;
use yii\caching\Cache;
use yii\caching\CacheInterface;
use yii\caching\TagDependency;

6
framework/db/sqlite/Schema.php

@ -9,6 +9,7 @@ namespace yii\db\sqlite;
use yii\base\NotSupportedException;
use yii\db\CheckConstraint;
use yii\db\ColumnSchema;
use yii\db\Constraint;
use yii\db\ConstraintFinderTrait;
use yii\db\Expression;
@ -85,11 +86,10 @@ class Schema extends \yii\db\Schema
if ($this->findColumns($table)) {
$this->findConstraints($table);
return $table;
} else {
return null;
}
return null;
}
/**

Loading…
Cancel
Save