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
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
651e6a3feb
added support for BIT default values
...
fixes #422
2014-06-25 03:37:39 +02:00
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
2014-06-01 22:40:05 +03:00
b987c92151
Escaped more table names
2014-03-30 20:46:06 +04:00
538a074c0f
Escaped table names for unit tests
2014-03-30 20:23:03 +04:00
ab799d8ea9
Fixes #2911 : Removed tbl_
default for table prefix
2014-03-30 19:33:46 +04:00
c21e01930e
added unit test for #2568
2014-02-27 15:13:51 +01:00
0ec5643ce3
Unit tests updated
2014-01-19 13:51:56 +04:00
f017ba357f
refactored unit tests. put common AR tests in trait
2013-11-24 19:18:16 +01:00
06a91d6271
fixed unit tests for cubrid and postgresql
...
both do not support unsigned integers
2013-10-29 19:10:47 +01:00
34945b0b69
added unit test to verify storing of null values
...
http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019
2013-10-29 18:27:20 +01:00
24e2f88503
Renamed validator test models to be less specific.
2013-08-23 22:47:45 +02:00
5c8927af7d
Added ExistValidatorTest and added new option to DatabaseTestCase
2013-08-17 00:40:45 +02: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
18218c4132
Removed unused columns.
2013-06-01 12:37:47 +02:00
97270a389a
Savepoint, implementing fkeys.
2013-05-31 14:25:56 +02:00
103621ad05
Savepoint: WIP implementing columns
2013-05-30 16:53:57 +02:00
c30eae62d2
Added initial unit testing files for the pgsql driver.
2013-05-29 00:01:02 +02:00
f082c0eb9a
w
2011-09-02 23:47:18 -04:00