-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove src\TestSupport\TestColumnSchemaBuilderTrait from yiisoft\db. (#…
…119) * Remove src\TestSupport\TestColumnSchemaBuilderTrait from yiisoft\db.
- Loading branch information
1 parent
dfead62
commit 559ca9d
Showing
2 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Yiisoft\Db\Oracle\Tests\Provider; | ||
|
||
use Yiisoft\Db\Schema\Schema; | ||
use Yiisoft\Db\Tests\Provider\AbstractColumnSchemaBuilderProvider; | ||
|
||
final class ColumnSchemaBuilderProvider extends AbstractColumnSchemaBuilderProvider | ||
{ | ||
public function types(): array | ||
{ | ||
$types = parent::types(); | ||
|
||
$types[0][0] = 'integer UNSIGNED DEFAULT NULL NULL'; | ||
$types[1][0] = 'integer(10) UNSIGNED'; | ||
|
||
return array_merge( | ||
$types, | ||
[ | ||
['integer UNSIGNED', Schema::TYPE_INTEGER, null, [['unsigned']]], | ||
], | ||
); | ||
} | ||
} |