Skip to content

Commit 03d2ef4

Browse files
committed
Fix create extension migration + sync index settings on install
1 parent 7640798 commit 03d2ef4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

backend/app/Console/Commands/InstallMWS.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function handle()
3535
{
3636
$this->info("ModWorkshop Installation");
3737
$this->call('scribe:generate');
38+
$this->call('scout:sync-index-settings');
3839

3940
$auto = $this->option('auto');
4041
$force = $this->option('force');

backend/database/migrations/2025_09_04_194437_add_semver_version_to_files_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
public function up(): void
1313
{
14-
DB::raw('CREATE EXTENSION IF NOT EXISTS "semver"');
14+
DB::statement('CREATE EXTENSION IF NOT EXISTS "semver"');
1515
Schema::table('files', function (Blueprint $table) {
1616
DB::statement('ALTER TABLE files ADD semver_version SEMVER');
1717
DB::statement('CREATE INDEX files_semver_version_index ON files(semver_version)');

0 commit comments

Comments
 (0)