58 Commits

Author SHA1 Message Date
5c01dc75ae Fix #13828, Fix #17474: Fix retrieving inserted data for a primary key for SQL Server 2005 or later
- Bug #13828: Fix retrieving inserted data for a primary key of type uniqueidentifier for SQL Server 2005 or later.
- Bug #17474: Fix retrieving inserted data for a primary key of type trigger for SQL Server 2005 or later.

The OUTPUT clause is new to SQL Server 2005 and has the ability to access the INSERTED and DELETED tables as is the case with a trigger.
2020-06-06 22:44:40 +03:00
c2eae6cb0e Fix #17457: Fixed phpTypecast() for MSSQL 2019-07-23 23:08:31 +03:00
9988efc04f Fix #16796: Fixed addition and removal of table and column comments in MSSQL 2019-07-23 18:50:57 +03:00
259c496e2e Fix #10020: Fixed quoting of column names with dots in MSSQL 2019-07-17 16:46:31 +03:00
dfe58e877c Remove unnecessary use 2019-07-10 21:16:39 +03:00
869f475dc1 Fix #17413, fix #17418: Fixed MSSQL tests 2019-07-10 17:30:41 +03:00
9f2a87363e Fixes #17420: Fixed loading of column default values for MSSQL 2019-07-10 17:29:11 +03:00
6b10bbcec2 Closes #17057. \yii\db\mssql\Schema::findTableNames should return quoted table names. (#17409) 2019-07-02 17:03:27 +03:00
eb65dba796 Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL 2019-07-02 14:41:56 +03:00
fe3ebe2e56 Fixes #17356: MSSQL Schema was not detecting string field size 2019-06-18 14:25:13 +03:00
089685975a Wrap @inheritdoc tag in curly brackets [skip ci] 2018-02-19 00:16:19 +02:00
df91a9608f Fixes #14638: Added yii\db\SchemaBuilderTrait::tinyInteger() 2018-02-12 12:01:21 +03:00
de1750228d Fixes #13879: Added upsert support for yii\db\QueryBuilder and yii\db\Command 2018-02-09 01:05:50 +03:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
4e176ca325 Fixes #15108: Fixed yii\db\Schema::getSchemaNames() for MSSQL and added tests for all DBMSes 2017-11-07 19:20:14 +03:00
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
12eb936083 Enable heredoc_to_nowdoc rule in php-cs-fixer (#14419) 2017-07-10 13:18:52 +03:00
164d3c83e9 Have I fixed these phpdocs? Let’s see… 2017-07-03 15:10:48 +03:00
3de6f8e397 Rename DefaultConstraint to DefaultValueConstraint 2017-06-21 12:19:16 +03:00
c8856ccd4e Fix merging issues & CS 2017-06-17 01:02:01 +03:00
73ac13e6d7 Implement retrieving dbms constraints 2017-05-15 20:55:25 +03:00
224201950d Fixes #13911: Significantly enhanced MSSQL schema reading performance 2017-04-19 13:05:46 +03:00
0ea45c78a8 Fixes #13571: Fix yii\db\mssql\QueryBuilder::checkIntegrity for all tables 2017-02-22 16:57:32 +03:00
3692941ead Fixes #11464: Foreign key name is not provided by schema 2017-01-16 00:27:20 +03:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
cac514e8e9 Fixes #12293: Fixed MSSQL Schema::resolveTableNames() when using linked database tables 2016-08-25 23:08:37 +03:00
15432971d6 db/ColumnSchemaBuilder::buildCommentString() returns empty string by default 2016-04-20 09:26:07 +03:00
0fe27b9d3b Refactored code in PR #9441 2016-04-19 17:48:25 +03:00
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
51b99320bd Sqlite specific schema builder class actually gets loaded now 2016-02-20 06:53:31 -08:00
eaeb926768 Adds char datatype to framework 2016-02-20 01:52:23 -08:00
5cecb09c1b Fixes #9443: Added unsigned() to ColumnSchemaBuilder 2015-12-26 15:20:21 +03:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
d801ca3c90 add mssql support (need test) 2015-08-19 16:42:44 +03:00
ec920d2881 add missing schema name conditions for mssql
close #8046
fixes #6234
2015-05-10 00:31:43 +02:00
ef662b57be added missing @since annotations 2015-04-24 12:09:40 +02:00
4d1ca9ff17 Fixes #7831: Add order when fetching database table names and constraints 2015-03-30 22:18:56 +03:00
29304a185a Fixes #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema 2015-03-30 19:01:12 +03:00
48255a446d Fixes #7867: Fixes findUniqueIndexes not to perform any processing on unique index on function for pgsql, Implemented findUniqueIndexes for oci and mssql 2015-03-30 18:01:30 +03:00
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
44b5e8ef60 Fixes #4954: MSSQL column comments are not retrieved correctly 2014-09-10 13:44:04 -04:00
7aed617c38 Fixes #4813: Fixed MSSQL schema that was getting incorrect info about constraints 2014-08-26 14:12:24 +04: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
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
714f27ab22 Fixes #3241 2014-06-09 02:30:48 +04:00