Qiang Xue
ab1f32ef76
Fixes #4492 : Support PostgreSQL-specific syntax for `QueryBuilder::alterColumn()`
10 years ago
Carsten Brandt
78b5c7db66
fixed boolean handling for PostgreSQL
...
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
are used correctly. Workaround resulted from wrong usage of boolean
values before.
fixes #4672
10 years ago
Carsten Brandt
c4dc9470be
created a test case to verify #4682
10 years ago
Carsten Brandt
c6274acf6c
ensure postgres boolean values are handled correctly
...
also fixed an issue with default value loading of bool columns.
fixes #3489 , fixes #4085 , fixes #3920
related to #4672
10 years ago
Carsten Brandt
92d65ab78b
fix issue with postgreSQL and batch inserting boolean values
...
fixes #4654
10 years ago
Nikitin Vitaly
f1dd83e2a9
Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
...
close #4655
10 years ago
Carsten Brandt
cd5bdd90d2
fixed postgres tests
10 years ago
Carsten Brandt
1391253a58
fixed postgres default value parsing
10 years ago
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
10 years ago
Carsten Brandt
cb87d7be84
fixed typo and test break
10 years ago
Carsten Brandt
7a87a13f37
unit test for postgres transaction
10 years ago
Carsten Brandt
d1a3d40014
added test case to acually create cols with virtual type
...
verify issue #3473
11 years ago
Qiang Xue
3411504508
Revert "Fixed test break."
...
This reverts commit 70b57766b1
.
11 years ago
Qiang Xue
70b57766b1
Fixed test break.
11 years ago
Alexander Makarov
a17e5582cd
Marked part of PostgreSQL test as incomplete
11 years ago
Alexander Makarov
48dbde3911
Fixed PostgreSQL test
11 years ago
Alexander Makarov
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
11 years ago
Carsten Brandt
5c748ddb42
added case insensitve LIKE to PostgresQueryBuilder
...
fixes #3252
also improved unit tests for querybuilder buildLikeCondition
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
4a201c7ad5
Removed unused variables
11 years ago
Carsten Brandt
9448c3d471
added unit tests for active dataprovider and fixed query tests
11 years ago
Qiang Xue
9862ee35b2
Fixes #1115 : fixed the issue with PDO boolean value binding with pgsql
11 years ago
Carsten Brandt
c8c377e698
skip test on postgres
11 years ago
Carsten Brandt
f153ce443a
reverted non working fix for #1115
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Qiang Xue
02fd82c42a
Fixed build break.
11 years ago
Carsten Brandt
544e412af8
unit test cleanup
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
gevik
f667b5785b
- Added drop/add primary key methods to Command.php
...
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
11 years ago
Gevik Babakhani
4602b575ad
Save point: WIP implementing db schema functionality.
12 years ago
Gevik Babakhani
c30eae62d2
Added initial unit testing files for the pgsql driver.
12 years ago