Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
8 years ago
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
João Pedro Pereira
3692941ead
Fixes #11464 : Foreign key name is not provided by schema
8 years ago
Fabian Peter Hammerle
46da2df98d
yii\db\mysql\Schema::loadColumnSchema sets enumValues attribute incorrectly if enum definition contains comma
...
(i.e. "enum('a','B','c,D')" -> ['a','B','c','D'] instead of expected ['a','B','c,D'])
8 years ago
Evgeniy
ad796dbf22
#11912 : Postgresql negative default values support for integer/float/decimal columns ( #11933 )
...
* fixes #11912 : Postgresql negative default values support for integer/float/decimal columns
* added more tests
* updated CHANGELOG.md
8 years ago
Carsten Brandt
7fb447506d
fix mixed case column names for unique indexes in postgres
...
fixes #10613
8 years ago
Carsten Brandt
8ba032d147
refactored database tests
...
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
hierarchie
- added missing db specific test classes
8 years ago
Carsten Brandt
5880968d45
added unit test for #10946
9 years ago
Chris Harris
eaeb926768
Adds `char` datatype to framework
9 years ago
Klimov Paul
fb0062114e
Method `yii\db\Schema::refreshTableSchema()` added
9 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago
John Was
29304a185a
Fixes #7833 : Support (materialized) views and foreign tables along normal tables when fetching table schema
10 years ago
John Was
4f49feee8d
fixes #7757 : in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
...
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
10 years ago
Alexander Makarov
187322052d
Fixed converting double to PHP type
10 years ago
Alexander Makarov
c7a7a312e6
Fixed schema cache test
10 years ago
Carsten Brandt
c4dc9470be
created a test case to verify #4682
10 years ago
Carsten Brandt
574f67feff
fixed test break
10 years ago
Carsten Brandt
cd5bdd90d2
fixed postgres tests
10 years ago
Carsten Brandt
651e6a3feb
added support for BIT default values
...
fixes #422
10 years ago
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Luciano Baraglia
269d1303a9
Code style fixes
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Qiang Xue
cbad97c78d
change back the visibility of findTableNames to protected.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
8899aaeb5b
moved getPdoType() to Schema.
11 years ago
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
11 years ago
Carsten Brandt
8abeed03bd
added SchemaTest
11 years ago