Skip to content

Conversation

@glennfriend
Copy link

No description provided.

@glennfriend glennfriend added the enhancement Enhancement label Jul 6, 2023
@glennfriend glennfriend requested a review from ericHao22 July 6, 2023 04:07
@glennfriend glennfriend self-assigned this Jul 6, 2023
Copy link
Contributor

@ericHao22 ericHao22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with a comment, thanks!!

Comment on lines +28 to +35
* Define database migrations.
*/
protected function defineDatabaseMigrations(): void
{
$this->loadLaravelMigrations();
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
$this->loadMigrationsFrom(__DIR__ . '/Migrations');
}
Copy link
Contributor

@ericHao22 ericHao22 Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬 comment

當初沒特別加的原因是,不一定每個套件都會有table schema,要是沒有的話它嘗試去load migration有可能會報錯?

不過如果真的要加感覺可以保留$this->loadLaravelMigrations();,然後其他的先註解掉也行

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我覺得可以都加上去但是都註解掉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants