Skip to content

Commit

Permalink
Merge pull request #43 from darkdef/small-enh
Browse files Browse the repository at this point in the history
add schemaInterface and remove ConstraintFinderTrait.php & ConstraintFinderInterface.php
  • Loading branch information
darkdef committed Jan 30, 2022
2 parents c20aad0 + b731d94 commit 06db684
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Schema.php
Expand Up @@ -11,8 +11,6 @@
use Yiisoft\Db\Connection\Connection;
use Yiisoft\Db\Constraint\CheckConstraint;
use Yiisoft\Db\Constraint\Constraint;
use Yiisoft\Db\Constraint\ConstraintFinderInterface;
use Yiisoft\Db\Constraint\ConstraintFinderTrait;
use Yiisoft\Db\Constraint\ForeignKeyConstraint;
use Yiisoft\Db\Constraint\IndexConstraint;
use Yiisoft\Db\Exception\Exception;
Expand All @@ -29,10 +27,8 @@
* @property string $lastInsertID The row ID of the last row inserted, or the last value retrieved from the
* sequence object. This property is read-only.
*/
final class Schema extends AbstractSchema implements ConstraintFinderInterface
final class Schema extends AbstractSchema
{
use ConstraintFinderTrait;

/**
* @var array map of DB errors and corresponding exceptions.
*
Expand Down

0 comments on commit 06db684

Please sign in to comment.