Skip to content
This repository was archived by the owner on Mar 31, 2018. It is now read-only.
This repository was archived by the owner on Mar 31, 2018. It is now read-only.

Better error output for migrations #176

@baohx2000

Description

@baohx2000

Currently error output in migrations are lacking

Especially for foreign key issues, the error is next to useless.

Acceptance Criteria

  1. Migration errors should output the name of the migration (unless the starting migration log issue gets merged first)
  2. Error should output the actual query being performed to easily find it inside the migration.

Tasks

  • try/catch in RunMigrationsCommand
  • perform output in catch by getting query from PDOException

Additional Notes

  • {{list additional notes here, remove if not applicable}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions