From 3da89bf5f2dd92e70f064ff30829676f6ebfb48f Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Wed, 5 Jun 2019 21:58:14 +0800 Subject: [PATCH] Change usr yod column data type to year Fixes #25 --- database/migrations/2014_10_12_000000_create_users_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 31bd368..bf4c98a 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -24,7 +24,7 @@ public function up() $table->date('dob')->nullable(); $table->unsignedTinyInteger('birth_order')->nullable(); $table->date('dod')->nullable(); - $table->date('yod')->nullable(); + $table->year('yod')->nullable(); $table->string('email')->unique()->nullable(); $table->string('password')->nullable(); $table->string('address')->nullable();