Qiang Xue
8c444d407b
Fixed test break.
10 years ago
Qiang Xue
dd15857eda
Fixed test break.
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
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
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
NmDimas
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
10 years ago
Alexander Makarov
b987c92151
Escaped more table names
11 years ago
Alexander Makarov
538a074c0f
Escaped table names for unit tests
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Carsten Brandt
c21e01930e
added unit test for #2568
11 years ago
Alexander Kochetov
0ec5643ce3
Unit tests updated
11 years ago
Carsten Brandt
f017ba357f
refactored unit tests. put common AR tests in trait
11 years ago
Carsten Brandt
06a91d6271
fixed unit tests for cubrid and postgresql
...
both do not support unsigned integers
11 years ago
Carsten Brandt
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
11 years ago
Suralc
24e2f88503
Renamed validator test models to be less specific.
11 years ago
Suralc
5c8927af7d
Added ExistValidatorTest and added new option to DatabaseTestCase
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
18218c4132
Removed unused columns.
11 years ago
Gevik Babakhani
97270a389a
Savepoint, implementing fkeys.
12 years ago
Gevik Babakhani
103621ad05
Savepoint: WIP implementing columns
12 years ago
Gevik Babakhani
c30eae62d2
Added initial unit testing files for the pgsql driver.
12 years ago
Qiang Xue
5f2f574381
w
13 years ago
Qiang Xue
f082c0eb9a
w
13 years ago