Skip to content

Tags: cakephp/database

Tags

5.2.5

Toggle 5.2.5's commit message
Fix(Database): Ensure read/write settings correctly inherit shared co…

…nfig (#18744)

Fix: Inherit shared config for read/write connections

5.2.4

Toggle 5.2.4's commit message
Fix primary key reflection in sqlserver (#18655)

Migrations requires primary key names to be preserved in sqlserver.
Follow the pattern used in postgres to retain backwards compatibility
with cakephp/database (name = primary) and preserve the key's actual
name.

5.2.3

Toggle 5.2.3's commit message
Merge pull request #18369 from cakephp/fix-sqlite-primary

Fix reflection of primary keys

5.2.2

Toggle 5.2.2's commit message
Drop psalm

5.2.1

Toggle 5.2.1's commit message
Fix update queries with expressions

Apply suggested fixes from #18274 along with a couple tests for future
us.

4.6.1

Toggle 4.6.1's commit message
Fix usage of deprecated method in ReconnectStrategy.php

5.2.0

Toggle 5.2.0's commit message
Being adding SchemaDialect::columnDefinitionSql (#18248)

In order to remove duplication between migrations and cakephp/database,
we need a method to generate column SQL fragments for DDL operations.
The current method in SchemaDialect isn't well suited for this as it
requires an `TableSchema` instance which we don't always have in
migrations.

This new with consumes the output of describeColumns() which migrations
will also start using. I've also added `onUpdate` to `TableSchema`
reflection for datetime/timestamp columns so that schema generation is
consistent between the two APIs. These changes only contain an
implementation for MySQL. Other drivers will be implemented in follow up
pull requests.

* Fix phpstan

* Add sqlite implementation of columnDefinitionSql

5.2.0-RC1

Toggle 5.2.0-RC1's commit message
Fix a regression in PostgresSchemaDialect (#18200)

When doing cleanup on the schema reflection methods, I introduced
a regression that was caught by migrations tests.

5.1.6

Toggle 5.1.6's commit message
Improve type detection

5.1.5

Toggle 5.1.5's commit message
Update src/Database/Schema/Collection.php

Co-authored-by: ADmad <ADmad@users.noreply.github.com>
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy