Skip to content

Commit

Permalink
fix: soft deletes config
Browse files Browse the repository at this point in the history
  • Loading branch information
frknasir committed Oct 10, 2022
1 parent 5f29067 commit 7634fb0
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_gauge_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ return new class extends Migration

$table->timestamps();

if (config('gauge.soft_deletion')) {
if (Gauge::$supportsSoftDeletes) {
$table->softDeletes();
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class InstallCommand extends Command
public function handle(): int
{
// Publish...
$this->callSilent('vendor:publish', ['--tag' => 'gauge-config', '--force' => true]);
$this->callSilent('vendor:publish', ['--tag' => 'gauge-', '--force' => true]);
$this->callSilent('vendor:publish', ['--tag' => 'gauge-migrations', '--force' => true]);

// Models...
Expand Down

0 comments on commit 7634fb0

Please sign in to comment.