Skip to content

Commit

Permalink
Merge pull request #9 from bearsunday/fix-create-table-error
Browse files Browse the repository at this point in the history
 Fix create table error
  • Loading branch information
koriym authored Jan 20, 2024
2 parents c34be70 + dd4f49b commit 0d71173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/phinx/migrations/20210520124501_ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ final class Ticket extends AbstractMigration
public function change(): void
{
$table = $this->table('ticket', ['id' => false, 'primary_key' => ['id']]);
$table->addColumn('id', 'uuid')
$table->addColumn('id', 'uuid', ['null' => false])
->addColumn('title', 'string')
->addColumn('dateCreated', 'datetime')
->create();
Expand Down

0 comments on commit 0d71173

Please sign in to comment.