fix: turn the embedding field into optional (#557)
Some checks are pending
Development Build / extract-version (push) Waiting to run
Development Build / build-regular (push) Blocked by required conditions
Development Build / build-single (push) Blocked by required conditions
Development Build / summary (push) Blocked by required conditions

* fix: turn the embedding field into optional

* enable migration 13 - fixes: #556
This commit is contained in:
Luis Novo 2026-02-10 11:24:17 -03:00 committed by GitHub
parent 97b7fc6e0d
commit 98dadd151a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 0 deletions

View file

@ -112,6 +112,9 @@ class AsyncMigrationManager:
AsyncMigration.from_file(
"open_notebook/database/migrations/12.surrealql"
),
AsyncMigration.from_file(
"open_notebook/database/migrations/13.surrealql"
),
]
self.down_migrations = [
AsyncMigration.from_file(
@ -150,6 +153,9 @@ class AsyncMigrationManager:
AsyncMigration.from_file(
"open_notebook/database/migrations/12_down.surrealql"
),
AsyncMigration.from_file(
"open_notebook/database/migrations/13_down.surrealql"
),
]
self.runner = AsyncMigrationRunner(
up_migrations=self.up_migrations,