diff --git a/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php b/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php index 358241d5..24d2ba92 100644 --- a/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php +++ b/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php @@ -1,33 +1,31 @@ tinyInteger('order')->default(0)->after('status'); + }); + } - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::table('components', function(Blueprint $table) { - $table->tinyInteger('order')->default(0)->after('status'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('components', function(Blueprint $table) { - $table->dropColumn('order'); - }); - } - + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('components', function (Blueprint $table) { + $table->dropColumn('order'); + }); + } }