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
2014-08-28 11:20:17 +02:00
c4dc9470be
created a test case to verify #4682
2014-08-13 12:45:20 +02:00
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
2014-08-12 02:19:53 +02:00
92d65ab78b
fix issue with postgreSQL and batch inserting boolean values
...
fixes #4654
2014-08-12 01:43:49 +02:00
f1dd83e2a9
Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
...
close #4655
2014-08-12 00:51:11 +02:00
cd5bdd90d2
fixed postgres tests
2014-06-25 22:54:39 +02:00
1391253a58
fixed postgres default value parsing
2014-06-25 04:09:03 +02:00
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
cb87d7be84
fixed typo and test break
2014-06-24 08:40:36 +02:00
7a87a13f37
unit test for postgres transaction
2014-06-24 03:14:51 +02:00
d1a3d40014
added test case to acually create cols with virtual type
...
verify issue #3473
2014-05-26 11:53:06 +02:00
3411504508
Revert "Fixed test break."
...
This reverts commit 70b57766b1577f1927c63f5a181f02cf00281214.
2014-05-14 11:40:46 -04:00
70b57766b1
Fixed test break.
2014-05-14 11:29:48 -04:00
a17e5582cd
Marked part of PostgreSQL test as incomplete
2014-05-07 21:25:19 +04:00
48dbde3911
Fixed PostgreSQL test
2014-05-06 19:14:10 +04:00
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
2014-05-06 18:26:27 +04:00
5c748ddb42
added case insensitve LIKE to PostgresQueryBuilder
...
fixes #3252
also improved unit tests for querybuilder buildLikeCondition
2014-04-29 12:04:10 +02:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
4a201c7ad5
Removed unused variables
2014-02-07 13:39:35 +04:00
9448c3d471
added unit tests for active dataprovider and fixed query tests
2013-11-13 19:35:44 +01:00
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
949dda5fdb
tagged tests with @group tags
2013-09-14 12:49:47 +02:00
02fd82c42a
Fixed build break.
2013-09-13 20:19:50 -04:00
544e412af8
unit test cleanup
2013-09-06 15:03:25 +02:00
0596fa82fd
code style fixes
2013-08-13 02:43:47 +04:00
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
2013-06-09 18:27:09 +02:00
4602b575ad
Save point: WIP implementing db schema functionality.
2013-05-29 17:44:53 +02:00
c30eae62d2
Added initial unit testing files for the pgsql driver.
2013-05-29 00:01:02 +02:00