Skip to content

Commit abdf4d8

Browse files
committed
fix: sent_emails migration conflict
fixes #26
1 parent ab1735c commit abdf4d8

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)