Skip to content

Commit 18d0f46

Browse files
Migrations.
1 parent f5830d7 commit 18d0f46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/migrations/2020_04_10_154850_create_families_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public function up()
1616
Schema::create('families', function (Blueprint $table) {
1717
$table->increments('id');
1818
$table->text('description')->nullable();
19-
$table->integer('is_active');
20-
$table->integer('type_id');
19+
$table->integer('is_active')->nullable();
20+
$table->integer('type_id')->nullable();
2121
$table->integer('husband_id')->references('id')->on('persons')->nullable();
2222
$table->integer('wife_id')->references('id')->on('persons')->nullable();
2323
$table->timestamps();

0 commit comments

Comments
 (0)