89 Commits (6a8348da5f63617c863a3c90c91cd0a7664e5ced)

Author SHA1 Message Date
Chris Harris 6a8348da5f AFTER column name is now escaped by safe method 9 years ago
Chris Harris f52f60db0f Renamed category constants 9 years ago
Chris Harris 51b99320bd Sqlite specific schema builder class actually gets loaded now 9 years ago
Chris Harris eaeb926768 Adds `char` datatype to framework 9 years ago
Chris Harris bce61bd474 Add `after()` option to migrations schema builder 9 years ago
Alexander Makarov 5cecb09c1b Fixes #9443: Added `unsigned()` to `ColumnSchemaBuilder` 9 years ago
SilverFire - Dmitry Naumenko cd87d67f34 Global DOCS update: ~~~ replaced with ``` 9 years ago
Alexander Makarov 1b3770fd21 Use === instead of == where possible 9 years ago
Alexander Makarov 5ab4f0f090 Better quotes usage in strings 9 years ago
jeicd c2f83da8d8 Fix phpdoc 9 years ago
Carsten Brandt 34d5b45b35 proper fix for #8844, convert array before using it 9 years ago
Carsten Brandt 681db52ba6 refactored SchemaBuilder 9 years ago
Carsten Brandt a2568d1ec8 updated some comments and `@since` annotations 9 years ago
Carsten Brandt 6d9fe671de various code style and whitespace adjustments 9 years ago
nidgetgod b8fefe513c fixed: Oracle 11g 11.2.0.1.0 ORA-03113: end-of-file on communication channel 9 years ago
Matvey Vasenin da941a7675 Improved `SchemaBuilder` implementation 9 years ago
pana1990 3f7ffd6707 Improved `SchemaBuilder` docs, refactored code 9 years ago
Matvey Vasenin b456f699cc Implemented `SchemaBuilder` 9 years ago
Alexander Mohorev ae42a054bb PSR-2 spaces, commas, etc 9 years ago
Alexander Mohorev 2134c72bb0 Undefined class Expression 9 years ago
prog5 1f8aafd36b #8573 fix 9 years ago
Carsten Brandt aa5887fec7 added missing use statement to fix #8572 9 years ago
vbelogai 672510d521 Update Schema.php 10 years ago
Carsten Brandt ef662b57be added missing `@since` annotations 10 years ago
Klimov Paul 60aa5f3eb9 Redundant checks at `yii\db\oci\Schema::insert()` and `yii\db\pgsql\Schema::insert()` removed 10 years ago
Paul Klimov 31ef4c4504 Command execution at `yii\db\oci\Schema::insert()` fixed 10 years ago
Paul Klimov 4e8ee7b001 Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression 10 years ago
John Was 67799ad092 fix typos 10 years ago
Jan Waś edf400df96 add missing space 10 years ago
Jan Waś 6e48ed05c7 allow calling Command::insert() without any columns 10 years ago
John Was 901d640b55 Fixes #7973: Added `Schema::getSchemaNames` method 10 years ago
John Was 664958548f fix oci\Schema::findConstraints() and pgsql\Schema::findTableNames(); added missing view to oci tests 10 years ago
John Was 4d1ca9ff17 Fixes #7831: Add order when fetching database table names and constraints 10 years ago
John Was 29304a185a Fixes #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema 10 years ago
Jan Was 48255a446d Fixes #7867: Fixes findUniqueIndexes not to perform any processing on unique index on function for pgsql, Implemented findUniqueIndexes for oci and mssql 10 years ago
John Was 4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER 10 years ago
Alexander Makarov 5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 10 years ago
wenbin1989 2202ae6cb8 Fixes #6080: Oracle DB schema did not load column types correctly 10 years ago
Qiang Xue 6b52b03523 Fixes #6049: `yii\db\Connection::getSchema()` for Oracle should return false when the table does not exist. Oracle does not support `ON UPDATE` clause. 10 years ago
wenbin1989 3d25f76e59 Fix batchInsert bug in oci. default batchInsert sql is ``` insert into tableName(col1, col2, col3...) value(`col11`, `col12`,`col13`.... ),(`col21`, `col22`,`col23`.... ); ``` which is illegal in oracle db. Change it to ``` insert into tableName(col1, col2, col3...) select 'col11', 'col12', 'col13' from dual union select 'col21', 'col22', 'col23' from dual union select 'col31', 'col32', 'col33' from dual; ``` 10 years ago
wenbin1989 39a358c269 oracle db doesn't support `ON UPDATE` in FOREIGN KEY. remove `ON UPDATE` section in method `addForeignKey`. 10 years ago
wenbin1989 b733a18904 fix oci bugs: \yii\db\oci\Schema::findColumns($table) return true when table doesn't exist When table doesn't exist, query in method `findColumns` return empty array instead of throw a exception. 10 years ago
Qiang Xue 212c5ee3ef Fixes #4254: `SqlDataProvider` does not work with Oracle and SQL Server 10 years ago
mcd.php 20774165bc Fixes #4644: Added `\yii\db\Schema::createColumnSchema()` to be able to customize column schema used 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Carsten Brandt 3a1e0f3a5c property codestyle framework 10 years ago
Carsten Brandt 1f31f27787 phpdoc 10 years ago
Alexander Makarov 0edd8bc65a Fixed missing and incorrect phpdoc 10 years ago
Qiang Xue 1f0d2ab7d9 Fixed Oracle DB type mapping. (Fixes #4) 10 years ago
Qiang Xue 91e0c5ae8a Added Connection::useMaster() and refactored code. 10 years ago