fix problem of UDI

This commit is contained in:
mahdi purHosseini
2023-09-25 11:29:16 +03:30
parent d019cdac58
commit 08d7708918
8 changed files with 16 additions and 16 deletions
@@ -14,7 +14,7 @@ class UpdateItemsTable extends Migration
public function up()
{
Schema::table('items', function (Blueprint $table) {
$table->string('uid')->nullable();
$table->string('udi')->nullable();
$table->tinyInteger('status')->default(0);
});
}
@@ -27,7 +27,7 @@ class UpdateItemsTable extends Migration
public function down()
{
Schema::table('items', function (Blueprint $table) {
$table->dropColumn('uid');
$table->dropColumn('udi');
$table->dropColumn('status');
});
}
@@ -14,7 +14,7 @@ class UpdatePackagesTable extends Migration
public function up()
{
Schema::table('packages', function (Blueprint $table) {
$table->string('uid')->nullable();
$table->string('udi')->nullable();
});
}
@@ -26,7 +26,7 @@ class UpdatePackagesTable extends Migration
public function down()
{
Schema::table('packages', function (Blueprint $table) {
$table->dropColumn('uid');
$table->dropColumn('udi');
});
}
}