gevik
c338d4b76b
Updated code styling and added braces.
12 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
12 years ago
Qiang Xue
864bf93679
coding style fix.
12 years ago
gevik
a977d8208e
Replaced dropConstraint with dropPrimarykey method.
12 years ago
gevik
3796db7d00
- Ported addPrimaryKey and created dropConstraint.
...
- The dropConstraint method can be used both for dropPrimaryKey and dropForeignKey
12 years ago
gevik
ec9dab11fa
[1] Redone missing code.
...
[2] Added empty line at the end of file
[3] Removed exception.
12 years ago
gevik
6fd74f5c27
Updated code style. braces on the same line for control statements.
12 years ago
gevik
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.
12 years ago
Qiang Xue
cf1e12ad11
Fixes issue #514 .
12 years ago
gevik
d07fd39f7e
Removed false exception catching.
12 years ago
Gevik Babakhani
879b494acb
Removed custom pgsql PDO and added defaultSchema as public property.
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Gevik Babakhani
9982d93369
Removed commented and unused pgsql datatype mappings.
12 years ago
Gevik Babakhani
e505566446
Refactored types to be compatible with 1.1
12 years ago
Gevik Babakhani
5a587d16f0
Fixed several formatting issues.
...
Refactored == null to is_null == '' to empty(...)
12 years ago
Gevik Babakhani
70e973129d
Added foreign keys and cleanup internal pg types
12 years ago
Qiang Xue
9d6f11d5d5
new way of detecting if table exists.
12 years ago
Qiang Xue
2376730452
better check of existence of tables.
12 years ago
Carsten Brandt
3680a4781d
removed unneccessary brackets
12 years ago
Carsten Brandt
9b6df54c7d
Adjusted type map in MSSQL Querybuilder
...
MSSQL seems to support limits for decimal type, so we add a default
limit.
12 years ago
Carsten Brandt
af68ee9d27
Sqlite unit test for abstract db types
12 years ago
Carsten Brandt
7117a6752b
Added phpdoc about precision constraints for abstract db types
12 years ago
Carsten Brandt
5c56c0fc02
Better flexibility for abstract db types
...
Feature was requested in yiisoft/yii#765
12 years ago
Gevik Babakhani
5a380360c7
Added table based sequence.
12 years ago
Gevik Babakhani
cbde22af55
Savepoint WIP QueryBuilder!
12 years ago
Gevik Babakhani
04ebd12277
Added last insert value to pgsql PDO
12 years ago
Gevik Babakhani
97270a389a
Savepoint, implementing fkeys.
12 years ago
Gevik Babakhani
103621ad05
Savepoint: WIP implementing columns
12 years ago
Qiang Xue
94b2d17031
Fixes issue #460
12 years ago
Qiang Xue
66e698673d
Fixes issue #457 : incorrect HTTPS detection.
12 years ago
Qiang Xue
f05f85fcfe
Removed Connection::__sleep.
12 years ago
Gevik Babakhani
4602b575ad
Save point: WIP implementing db schema functionality.
12 years ago
Gevik Babakhani
c30eae62d2
Added initial unit testing files for the pgsql driver.
12 years ago
Carsten Brandt
0a5b7a5960
docs: Be explicitly clear about ActiveRecord::create()
12 years ago
resurtm
cc5426e549
Removed unnecessary code from MSSQL schema.
12 years ago
Qiang Xue
f5d0bcbcfc
Refactored cache key generation.
12 years ago
Carsten Brandt
689080519e
Added support for previous exceptions
...
PHP supports exception stacks since 5.3 so we should use it.
Also Errorhandler is now able to display the stack: #297
12 years ago
resurtm
89e3077108
MSSQL column case consistency.
12 years ago
resurtm
d67416ab8b
MSSQL: select what is really needed from information_schema.columns, not just everything as it was before.
12 years ago
resurtm
2430ebe95d
MSSQL AR tests.
12 years ago
resurtm
1f9a46850c
MSSQL initial query builder.
12 years ago
resurtm
90395b5df2
Refinements to MSSQL driver classes.
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago