Skip to content

Commit

Permalink
update the pgvector library
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Jul 29, 2024
1 parent 1f803d5 commit c7c77b6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions database/migrations/2022_08_03_000000_create_vector_extension.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement('CREATE EXTENSION IF NOT EXISTS vector');
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::statement('DROP EXTENSION vector');
}
};

0 comments on commit c7c77b6

Please sign in to comment.