mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 16:51:05 +03:30
fix problem of UDI
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user