From a528ce9f96201298a7085cd9edbbcbebf4528b0f Mon Sep 17 00:00:00 2001 From: Leonard Smith Date: Sat, 1 May 2021 16:34:19 -0500 Subject: [PATCH] Add a migration to add ulb sort column to words table --- ..._add_extra_sort_columns_to_words_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2021_04_30_214643_add_extra_sort_columns_to_words_table.php diff --git a/database/migrations/2021_04_30_214643_add_extra_sort_columns_to_words_table.php b/database/migrations/2021_04_30_214643_add_extra_sort_columns_to_words_table.php new file mode 100644 index 0000000..69b4316 --- /dev/null +++ b/database/migrations/2021_04_30_214643_add_extra_sort_columns_to_words_table.php @@ -0,0 +1,32 @@ +bigInteger('ulb_sort')->nullable()->after('ognt_sort'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('words', function (Blueprint $table) { + $table->dropColumn('ulb_sort'); + }); + } +}