diff --git a/app/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php b/app/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php index 4f92cda6..fa388a43 100644 --- a/app/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php +++ b/app/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php @@ -1,36 +1,32 @@ timestamp('scheduled_at')->after('user_id')->nullable()->default(null); + }); + } - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::table('incidents', function(Blueprint $table) - { - $table->timestamp('scheduled_at')->after('user_id')->nullable()->default(null); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('incidents', function(Blueprint $table) - { - $table->dropColumn('scheduled_at'); - }); - } - + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('incidents', function (Blueprint $table) { + $table->dropColumn('scheduled_at'); + }); + } }