migrations icon indicating copy to clipboard operation
migrations copied to clipboard

Automatic migration generation

Results 13 migrations issues
Sort by recently updated
recently updated
newest added

Draft version of migration builder. Need add support custom types for all database, because current version only for postgresql and only for enums.

type:enhancement

Inspired by https://github.com/laravel/framework/pull/36906/files

type:enhancement
help wanted
status:under discussion

Now I can't create custom fields: ``` $this->table('table')->addColumn('location', 'point'); ``` I got error `Undefined abstract/virtual type 'point'` in `AbstractColumn.php line 449` Add the ability to create custom field types.

type:enhancement

I've switched from mysql 5.7 to 8 version and there is an error. While mysql 5.7 has no error. I'm trying to migrate generated migration. `mysql Ver 8.0.23-0ubuntu0.20.04.1 for Linux...

status:to be verified

Database: > Postgres 9.1 Code for migration: ``` ->addColumn('status', 'enum', [ 'nullable' => false, 'default' => 'active', 'values' => [ 'active', 'inactive', ... ] ]) ``` Actual result: A table...

type:enhancement

When changing PK declaration from ```php @Column(type=primary) ``` to ```php @Column(type=bigint, primary=true) ``` tests fail with next error (reproduced on PostgreSQL) ``` Cycle\Migrations\Tests\Driver\Postgres\ReflectTest::testAlter Column primary_to_primary_bigints.id has been changed Failed asserting...

type:bug

Change precondition typehints from `Cycle` to `Spiral` namespace.

PHP version: 8.0 Package version: v1.0.10 How to reproduce: 1. User entity: ```php

type:bug

In current migrations implementation it is possible case when migration fails after implementing some changes. If such migration fails you must rollback it manually from db. I know about the...