diff --git a/database/migrations/2023_08_27_124700_update_items_table.php b/database/migrations/2023_08_27_124700_update_items_table.php new file mode 100644 index 00000000..64be7e3f --- /dev/null +++ b/database/migrations/2023_08_27_124700_update_items_table.php @@ -0,0 +1,34 @@ +string('uid')->nullable(); + $table->tinyInteger('status')->default(0); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('items', function (Blueprint $table) { + $table->dropColumn('uid'); + $table->dropColumn('status'); + }); + } +} diff --git a/database/migrations/2023_08_27_124945_update_packages_table.php b/database/migrations/2023_08_27_124945_update_packages_table.php new file mode 100644 index 00000000..69bffc4e --- /dev/null +++ b/database/migrations/2023_08_27_124945_update_packages_table.php @@ -0,0 +1,32 @@ +string('uid')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('packages', function (Blueprint $table) { + $table->dropColumn('uid'); + }); + } +}