-<?php\r
-\r
-use Illuminate\Database\Migrations\Migration;\r
-use Illuminate\Database\Schema\Blueprint;\r
-use Illuminate\Support\Facades\Schema;\r
-\r
-class AddDefaultTemplateToChapters extends Migration\r
-{\r
- /**\r
- * Run the migrations.\r
- *\r
- * @return void\r
- */\r
- public function up()\r
- {\r
- Schema::table('chapters', function (Blueprint $table) {\r
- $table->integer('default_template_id')->nullable()->default(null);\r
- });\r
- }\r
-\r
- /**\r
- * Reverse the migrations.\r
- *\r
- * @return void\r
- */\r
- public function down()\r
- {\r
- Schema::table('chapters', function (Blueprint $table) {\r
- $table->dropColumn('default_template_id');\r
- });\r
- }\r
-}\r
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+class AddDefaultTemplateToChapters extends Migration
+{
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ Schema::table('chapters', function (Blueprint $table) {
+ $table->integer('default_template_id')->nullable()->default(null);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::table('chapters', function (Blueprint $table) {
+ $table->dropColumn('default_template_id');
+ });
+ }
+}