Skip to content

Commit

Permalink
Create form fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaybokaderanium committed Feb 9, 2024
1 parent 9fd47be commit bae7fe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/migrations/create_user_consent_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ return new class extends Migration
Schema::create('consent_options', function (Blueprint $table) {
$table->id();
$table->string('key')->unique();
$table->unsignedBigInteger('version')->nullable()->default(null);
$table->unsignedBigInteger('version')->nullable()->default(1);
$table->string('title')->nullable()->default(null);
$table->string('label')->nullable()->default(null);
$table->text('text')->nullable()->default(null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ListConsentOptions extends ListRecords
protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make()->hidden(),
Actions\CreateAction::make(),
];
}
}

0 comments on commit bae7fe0

Please sign in to comment.