Skip to content

Commit 565d512

Browse files
authored
Merge pull request #28 from d-damien/master
fix: sent_emails migration conflict
2 parents ab1735c + abdf4d8 commit 565d512

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/database/migrations/2020_07_16_222057_create_sent_emails_table.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
{
99
public function up(): void
1010
{
11+
// avoid conflict with user published migrations
12+
if (Schema::hasTable('sent_emails')) {
13+
return;
14+
}
15+
1116
Schema::create('sent_emails', function (Blueprint $table) {
1217
$table->increments('id');
1318
$table->date('date')->nullable();

0 commit comments

Comments
 (0)