Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fed5cb5

Browse files
rustagirgithub-actions[bot]
authored andcommitted
apply phpcbf formatting
1 parent 034c6e8 commit fed5cb5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎docs/includes/schema-builder/galaxies_migration.php‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ public function up(): void
3636
// start-create-vs-index
3737
Schema::create('galaxies', function (Blueprint $collection) {
3838
$collection->vectorSearchIndex([
39-
'fields' => [[
40-
'type' => 'vector',
41-
'numDimensions' => 4,
42-
'path' => 'vector4',
43-
'similarity' => 'cosine'
44-
]],
39+
'fields' => [
40+
[
41+
'type' => 'vector',
42+
'numDimensions' => 4,
43+
'path' => 'vector4',
44+
'similarity' => 'cosine',
45+
],
46+
],
4547
], 'vs_index');
4648
});
4749
// end-create-vs-index

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /