mirror of
https://github.com/langgenius/dify.git
synced 2026-09-08 02:43:49 +08:00
fix(knowledge-fs): sync api migration expectations
This commit is contained in:
parent
465d3c53cb
commit
d9e25e40f6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 5,
|
||||
"subtreeTree": "d8957816f6a5bc1aa43598c9f71988e49d9871cc",
|
||||
"subtreeTree": "4ab4f882f3d062f8e8bc8cd22604ee871b04c0ed",
|
||||
"openapiSha256": "6e89f6e365256b7b169aece12c102296038629e78edfa105a8c99da0d122b57c",
|
||||
"capabilityV2AuthManifestSha256": "fc0a47e23cce12544882f0298522b4933002e892b84ce1815df7e81d36a7a0c7",
|
||||
"capabilityV2AuthTestVectorSha256": "ae0de37b1ff05c40f905cf17a7b410d8971acacf64db07d5ee3d6fecfa559ce3",
|
||||
|
||||
@ -129,6 +129,8 @@ describe("runApiDatabaseMigrations", () => {
|
||||
"insert",
|
||||
"schema",
|
||||
"insert",
|
||||
"schema",
|
||||
"insert",
|
||||
]);
|
||||
expect(migrationSql).toHaveLength(expectedPostgresMigrationIds.length);
|
||||
expect(migrationSql[2]).toContain("-- Migration id: 0003_projection_set_publications\n");
|
||||
@ -185,6 +187,8 @@ describe("runApiDatabaseMigrations", () => {
|
||||
"-- Migration id: 0038_document_outline_summary_checkpoints\n",
|
||||
);
|
||||
expect(migrationSql[38]).toContain("-- Migration id: 0039_document_semantic_enrichment\n");
|
||||
expect(migrationSql[39]).toContain("-- Migration id: 0040_knowledge_space_metadata\n");
|
||||
expect(migrationSql[40]).toContain("-- Migration id: 0041_logical_document_availability\n");
|
||||
expect(closed).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user