id(); $table->foreignId('company_id')->constrained()->onDelete('cascade'); $table->string('primary_color')->default(PrimaryColor::DEFAULT); $table->string('font')->default(Font::DEFAULT); $table->string('table_sort_direction')->default(TableSortDirection::DEFAULT); $table->unsignedTinyInteger('records_per_page')->default(RecordsPerPage::DEFAULT); $table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete(); $table->foreignId('updated_by')->nullable()->constrained('users')->nullOnDelete(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('appearances'); } };