Download the PHP package cap-collectif/id-to-uuid without Composer
On this page you can find all versions of the php package cap-collectif/id-to-uuid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cap-collectif/id-to-uuid
More information about cap-collectif/id-to-uuid
Files in cap-collectif/id-to-uuid
Download cap-collectif/id-to-uuid
More information about cap-collectif/id-to-uuid
Files in cap-collectif/id-to-uuid
Vendor cap-collectif
Package id-to-uuid
Short Description Easily migrate from auto incremented id to uuid
License MIT
Package id-to-uuid
Short Description Easily migrate from auto incremented id to uuid
License MIT
Please rate this library. Is it a good library?
Informations about the package id-to-uuid
id-to-uuid
Easily migrate from an auto incremented integer id to a uuid in a project using DoctrineMigrationsBundle. Autodetect your foreign keys and update them. Supported databases: MySQL, Postgres.
Installation
Usage
- Update your
id
column frominteger
toguid
:
Alternatively you can use uuid-doctrine to add uuid
type support.
- Add a new migration:
Alternatively you can specify second parameter to migrate
method - custom temporary uuid field name
- After migration
Check if your db structure is different from the doctrine schema. If it does then create another migration or merge with the previous one.
All versions of id-to-uuid with dependencies
PHP Build Version
Package Version
Requires
doctrine/orm Version
^2.5
doctrine/dbal Version ^2.5
doctrine/doctrine-migrations-bundle Version ~1.1 | ~2
doctrine/dbal Version ^2.5
doctrine/doctrine-migrations-bundle Version ~1.1 | ~2
The package cap-collectif/id-to-uuid contains the following files
Loading the files please wait ....