ticket type rework
This commit is contained in:
@@ -15,13 +15,11 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->foreignId('project_id')->constrained()->cascadeOnDelete();
|
||||
$table->string('name');
|
||||
$table->string('system_key')->nullable();
|
||||
$table->boolean('is_builtin')->default(false);
|
||||
$table->boolean('is_parent')->default(false);
|
||||
$table->unsignedInteger('position');
|
||||
$table->timestamps();
|
||||
|
||||
$table->unique(['project_id', 'position']);
|
||||
$table->unique(['project_id', 'system_key']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user