Download the PHP package paramah/id-to-uuid without Composer
On this page you can find all versions of the php package paramah/id-to-uuid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download paramah/id-to-uuid
More information about paramah/id-to-uuid
Files in paramah/id-to-uuid
Download paramah/id-to-uuid
More information about paramah/id-to-uuid
Files in paramah/id-to-uuid
Vendor paramah
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
doctrine/dbal Version ^2.5
doctrine/doctrine-migrations-bundle Version ~1.1
The package paramah/id-to-uuid contains the following files
Loading the files please wait ....