diff --git a/database/migrations/2021_05_01_185503_add_sub_field_to_words_table.php b/database/migrations/2021_05_01_185503_add_sub_field_to_words_table.php new file mode 100644 index 0000000..fbf84f2 --- /dev/null +++ b/database/migrations/2021_05_01_185503_add_sub_field_to_words_table.php @@ -0,0 +1,32 @@ +boolean('sub')->default(false)->after('phrase_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('words', function (Blueprint $table) { + $table->dropColumn('sub'); + }); + } +}