Skip to content

Commit ed5b934

Browse files
Fix: change table name from persons to people in families migration
Co-authored-by: delicatacurtis <247246500+delicatacurtis@users.noreply.github.com>
1 parent f7733f6 commit ed5b934

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/migrations/2020_04_10_154850_create_families_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public function up()
1717
$table->text('description')->nullable();
1818
$table->integer('is_active')->nullable();
1919
$table->integer('type_id')->nullable();
20-
$table->integer('husband_id')->references('id')->on('persons')->nullable();
21-
$table->integer('wife_id')->references('id')->on('persons')->nullable();
20+
$table->integer('husband_id')->references('id')->on('people')->nullable();
21+
$table->integer('wife_id')->references('id')->on('people')->nullable();
2222
$table->timestamps();
2323
$table->softDeletes();
2424
});

0 commit comments

Comments
 (0)