51 Commits

Author SHA1 Message Date
cbad97c78d change back the visibility of findTableNames to protected. 2013-12-29 09:51:36 -05:00
fdca106ece code style fix. 2013-12-27 15:53:45 -05:00
16801b9b3e codestyle fix 2013-12-28 00:06:39 +04:00
6a9509ed8d improved checkIntegrity method 2013-12-28 00:04:18 +04:00
65b543f68f fixed bug with forgotten param, fixed behavior for one table integrity 2013-12-27 11:04:29 +04:00
e23f869c69 added postgresql features to reset seq/check integrity 2013-12-27 09:42:51 +04:00
89f0bfe100 Making accesors public 2013-12-25 18:27:54 -03:00
d376da57e4 Get DB unique indexes information 2013-12-25 18:08:50 -03:00
5e092ac619 Fixed sequence id match for postgresql
PgAdmin generates   sequence as  '"Schema"."Table_seq"'::regclass  when
non public schema is used.
2013-12-24 02:01:54 +01:00
64ef54bf18 Fixes #1435: pgsql getTableNames() should not prefix table names with schema name. 2013-12-05 12:31:45 -05:00
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
bf708aa824 Fixes #1334: foreign key is incorrectly determined for pgsql. 2013-11-27 11:55:35 -05:00
9ef3560f5a Fixed test break. 2013-11-19 18:03:52 -05:00
f67ddb17f6 Fixes #1242: Gii Model generation added dropped table fields in Postgresql 2013-11-19 17:25:05 -05:00
dbf35253b7 Fixes #1237. 2013-11-19 10:25:07 -05:00
9862ee35b2 Fixes #1115: fixed the issue with PDO boolean value binding with pgsql 2013-11-03 18:51:16 -05:00
1551f8443c Fixed pgsql column type detection bug. 2013-11-03 09:33:28 -05:00
26c7f6d62f Fixed sqlite column type detection bug. 2013-11-03 09:02:17 -05:00
f153ce443a reverted non working fix for #1115 2013-11-01 17:20:19 +01:00
7c630a6246 fixed problem with Postgres PDO and Boolean values
See the following resources for details:
yiisoft/yii#779
https://bugs.php.net/bug.php?id=33876
http://www.yiiframework.com/forum/index.php/topic/32334-boolean-type-with-postgresql/page__view__findpost__p__155647
2013-11-01 17:02:31 +01:00
bd82170142 Fixes #1096: pgsql: sequence name not matched 2013-11-01 10:03:13 -04:00
80e816efc3 pgsql: added 'bool' type (alias of 'boolean')
Relates #1086 and #1087
2013-10-28 14:39:09 +02:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
645ec3645c Merge pull request #1006 from chelishchev/basic-support-pgsql-in-query-builder
Support PostgreSQL in QueryBuilder
2013-10-17 13:00:54 -07:00
8f8c705309 Just simple support PostgreSQL in QueryBuilder 2013-10-17 22:54:09 +03:00
523a63f576 Added TYPE_BIGPK to Schema 2013-09-15 15:08:43 +04:00
6fe152da7e Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords. 2013-09-13 20:13:46 -04:00
7303bae382 Fixed foreign key generation bug for pgsql. 2013-09-10 08:24:14 -04:00
b6f07859c1 Added support for getting all tables for pgsql. 2013-09-08 08:47:52 -04:00
gsd
663fe63911 Update Schema.php 2013-06-11 15:38:06 +06:00
4efeedd314 Minor coding style fix. 2013-06-09 17:46:41 -04:00
44f78f04df Merge pull request #519 from gevik/issue-466
Issue 466 (add/drop PrimaryKeys)
2013-06-09 14:41:08 -07: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
864bf93679 coding style fix. 2013-06-09 09:41:32 -03:00
ec9dab11fa [1] Redone missing code.
[2] Added empty line at the end of file
[3] Removed exception.
2013-06-09 00:04:37 +02:00
6fd74f5c27 Updated code style. braces on the same line for control statements. 2013-06-08 23:47:24 +02:00
19793f7af0 Removed unused columsn from find constraint sql. Fixed typo. Added extra schema check for when a foreign table is not in the same schema. Updated indentation to conform to other classes. 2013-06-08 21:51:15 +02:00
cf1e12ad11 Fixes issue #514. 2013-06-08 12:37:39 -04:00
d07fd39f7e Removed false exception catching. 2013-06-07 22:54:04 +02:00
879b494acb Removed custom pgsql PDO and added defaultSchema as public property. 2013-06-07 21:28:58 +02:00
9982d93369 Removed commented and unused pgsql datatype mappings. 2013-06-06 21:14:24 +02:00
e505566446 Refactored types to be compatible with 1.1 2013-06-06 19:51:22 +02:00
5a587d16f0 Fixed several formatting issues.
Refactored == null to is_null == '' to empty(...)
2013-06-06 16:29:17 +02:00
70e973129d Added foreign keys and cleanup internal pg types 2013-06-06 11:29:28 +02:00
5a380360c7 Added table based sequence. 2013-06-01 12:37:30 +02:00
cbde22af55 Savepoint WIP QueryBuilder! 2013-06-01 12:36:55 +02:00
04ebd12277 Added last insert value to pgsql PDO 2013-06-01 12:36:19 +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
4602b575ad Save point: WIP implementing db schema functionality. 2013-05-29 17:44:53 +02:00