Skip to content

Commit b506e9d

Browse files
committed
Setup
CREATE EXTENSION vector
1 parent 3c3e627 commit b506e9d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,8 @@ SqlDelight needs this fix https://github.com/sqldelight/sqldelight/pull/5625 for
7373
PostgreSqlTypeResolver needs to be inherited rather than use delegation as needs polymorphic calls
7474

7575

76+
```shell
77+
createdb vector &&
78+
./gradlew build &&
79+
./gradlew flywayMigrate
80+
```

src/main/sqldelight/griffio/migrations/V1__Initial_version.sqm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
CREATE EXTENSION IF NOT EXISTS vector;
2+
13
CREATE TABLE items (
24
id BIGSERIAL PRIMARY KEY,
35
embedding VECTOR(3)

0 commit comments

Comments
 (0)