id(); $table->foreignId('company_id')->constrained()->onDelete('cascade'); $table->string('primary_color')->default(PrimaryColor::DEFAULT); $table->string('font')->default(Font::DEFAULT); $table->string('max_content_width')->default(MaxContentWidth::DEFAULT); $table->string('modal_width')->default(ModalWidth::DEFAULT); $table->string('table_sort_direction')->default(TableSortDirection::DEFAULT); $table->unsignedTinyInteger('records_per_page')->default(RecordsPerPage::DEFAULT); $table->boolean('has_top_navigation')->default(false); $table->boolean('is_table_striped')->default(false); $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'); } };