Skip to content

Commit

Permalink
Added migration to change primary key of scenarios_jobs table to bi…
Browse files Browse the repository at this point in the history
…gint

remp/crm#2591
  • Loading branch information
zoldia committed Mar 31, 2023
1 parent b8ecc5d commit 7ab0306
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class ChangeScenariosJobsIdColumnToBigint extends AbstractMigration
{
public function change(): void
{
$this->table('scenarios_jobs')
->changeColumn('id', 'biginteger', ['identity' => true])
->update();
}
}

0 comments on commit 7ab0306

Please sign in to comment.