Hereward Mills
a4acd048bc
Add @throws tags to PHPDocs.
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
e4f5b91f74
Fixed #6351 MySQL 5.1 compatibility
9 years ago
Steve Guns
d40435e931
Enhanced #6351 fix by reintroduced older (SQL CREATE) style FK detection for people still running MySQL servers where referential_constraints is not available
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
jeicd
0407407b76
fix coding style to follow PSR-2
9 years ago
John Was
eb6935e4a8
add more conditions when reading mysql information_schema to speed it up
9 years ago
Jan Waś
191185f5e3
Fixes #6351 : Find MySQL FK constraints from `information_schema` tables instead of `SHOW CREATE TABLE` to improve reliability
9 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
...
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
10 years ago
Alexander Makarov
5870a74672
Added Schema::DOUBLE to represent ANSI SQL Double Precision
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
Steve
47923cccbe
Fix bug in `yii\db\mysql\Schema`
...
Schema name was not used in ’SHOW CREATE TABLE’ query
Fixed bug where schema name was not used in ’SHOW CREATE TABLE’ query in `yii\db\mysql\Schema`
close #4162
10 years ago
Carsten Brandt
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
10 years ago
Carsten Brandt
8a70d9fbd1
rename column schema typecast method
10 years ago
Carsten Brandt
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
10 years ago
Carsten Brandt
29cacc8a05
added mysql blob and longblob to the list
...
issue #613
10 years ago
Carsten Brandt
651e6a3feb
added support for BIT default values
...
fixes #422
10 years ago
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
10 years ago
Carsten Brandt
20483e25db
added reference link to SQL error code
...
[ci skip]
10 years ago
Carsten Brandt
9430ccd095
more robust check for table not exists
...
should work on HHVM too
10 years ago
Qiang Xue
f5dbd9a084
Fixes #3564 : Fixed the bug that primary key columns should not take default values from schema
11 years ago
Qiang Xue
453ed4d93a
fixed #3268
11 years ago
Qiang Xue
9b71adb4fa
Fixes #3268 : Fixed the bug that the schema name in a table name was not respected by `yii\db\mysql\Schema`
11 years ago
Carsten Brandt
91965fd391
phpdoc formatting issues
11 years ago
Qiang Xue
02c3c37a00
Fixes #2986 .
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
8ecceb395f
Fixes #2210 : Mysql driver will now treat `tinyint(1)` as integer instead of boolean
11 years ago
Qiang Xue
9b723baa76
Added `TableSchema::fullName` property
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
cbad97c78d
change back the visibility of findTableNames to protected.
11 years ago
Mark
e23f869c69
added postgresql features to reset seq/check integrity
11 years ago
Luciano Baraglia
166f8aa582
Fix wrong array index in unique indexes for MySql
11 years ago
Luciano Baraglia
89f0bfe100
Making accesors public
11 years ago
Luciano Baraglia
d376da57e4
Get DB unique indexes information
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
267f2d7849
fixed docs in db Schema classes
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
11 years ago
Qiang Xue
9d6f11d5d5
new way of detecting if table exists.
11 years ago
Qiang Xue
2376730452
better check of existence of tables.
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
abd3d827a2
refactoring.
12 years ago
Qiang Xue
7f6a5568b4
Cleaned up SQLite support.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
12 years ago
Qiang Xue
6dd495b65f
Added init and afterFind events to AR.
...
Implemented scope support.
12 years ago
Qiang Xue
ebecc09839
DB refactoring.
12 years ago