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
25bf486b7f
save some function calls on AR insert
2014-08-12 18:13:49 +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
20774165bc
Fixes #4644 : Added \yii\db\Schema::createColumnSchema()
to be able to customize column schema used
2014-08-12 00:01:27 +04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
43333d9cad
Implemented master balancing.
2014-07-11 22:33:36 -04:00
e67d0b3c39
WIP
2014-07-11 14:01:44 -04:00
ff50f15056
proper quoting of sequence name.
2014-07-10 14:06:47 -04:00
038d5a5375
Fixes #4232 : TableSchema::sequenceName
for PostgreSQL should remove the enclosing quotes
2014-07-09 17:17:35 -04:00
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
2014-06-27 02:12:59 +02:00
8a70d9fbd1
rename column schema typecast method
2014-06-26 00:11:04 +02:00
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
2014-06-26 00:00:37 +02:00
1391253a58
fixed postgres default value parsing
2014-06-25 04:09:03 +02:00
651e6a3feb
added support for BIT default values
...
fixes #422
2014-06-25 03:37:39 +02:00
458c4a6623
Fix PostgreSQL enumValues
...
$column->enumValues is set to array[0 =>''] even if $info['enum_values'] is null.
Gii generates always dropDownList in forms.
2014-06-09 12:29:39 +02:00
f23b7ac57e
Fixes #3564
2014-05-26 19:12:56 -04:00
18190b7348
fixes #3473 , allow precision in pgsql abstract timestamp
2014-05-25 19:20:57 +02:00
6fd25815ba
added more types to pgsql schema, better detection
...
fixes #3578
2014-05-25 10:21:23 +02:00
f5dbd9a084
Fixes #3564 : Fixed the bug that primary key columns should not take default values from schema
2014-05-23 10:35:20 -04:00
6e7713ec13
Fixes #3567 : Fixed the bug that smallint was treated as string for PostgreSQL
2014-05-23 10:25:16 -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
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
1ff9dedf60
Fixed getting default value from postgres schema
2014-03-20 13:29:36 +04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
13aa88bc5b
Fix for #2087
2014-01-21 09:28:41 -03:00
9b723baa76
Added TableSchema::fullName
property
2014-01-16 15:51:14 -05:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00