This commit is contained in:
pbao9
2026-02-02 10:06:42 +07:00
parent a2a75b2015
commit 34575b2d96
29 changed files with 253 additions and 157 deletions
+2 -4
View File
@@ -13,12 +13,10 @@ return new class extends Migration {
public function up()
{
Schema::create('os', function (Blueprint $table) {
$table->id()->autoIncrement();
$table->id();
$table->string('version', 100)->nullable();
$table->string('os_id', 100)->nullable();
$table->integer('os_group_id')->index()->default(0);
$table->foreignId('os_group_id')->constrained('os_group')->index();
$table->string('template_id')->nullable();
$table->integer('module_host_id')->index()->default(0);
$table->tinyInteger('status')->default(1);
$table->timestamps();
});