mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-18 02:11:59 -05:00
regen migrations, ack PR comments
This commit is contained in:
@@ -4,7 +4,7 @@ CREATE TABLE "knowledge_connector" (
|
||||
"connector_type" text NOT NULL,
|
||||
"credential_id" text NOT NULL,
|
||||
"source_config" json NOT NULL,
|
||||
"sync_mode" text DEFAULT 'incremental' NOT NULL,
|
||||
"sync_mode" text DEFAULT 'full' NOT NULL,
|
||||
"sync_interval_minutes" integer DEFAULT 1440 NOT NULL,
|
||||
"status" text DEFAULT 'active' NOT NULL,
|
||||
"last_sync_at" timestamp,
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "4209f841-3ebf-469f-ad98-2df8a84766a1",
|
||||
"id": "0c80d49c-beb2-4792-a9c1-91ce6ef7eb11",
|
||||
"prevId": "49f580f7-7eba-4431-bdf4-61db0e606546",
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
@@ -4292,7 +4292,7 @@
|
||||
"type": "text",
|
||||
"primaryKey": false,
|
||||
"notNull": true,
|
||||
"default": "'incremental'"
|
||||
"default": "'full'"
|
||||
},
|
||||
"sync_interval_minutes": {
|
||||
"name": "sync_interval_minutes",
|
||||
|
||||
@@ -1083,8 +1083,8 @@
|
||||
{
|
||||
"idx": 155,
|
||||
"version": "7",
|
||||
"when": 1771305981173,
|
||||
"tag": "0155_talented_ben_parker",
|
||||
"when": 1771314071508,
|
||||
"tag": "0155_bitter_maginty",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
|
||||
@@ -2270,7 +2270,7 @@ export const knowledgeConnector = pgTable(
|
||||
connectorType: text('connector_type').notNull(),
|
||||
credentialId: text('credential_id').notNull(),
|
||||
sourceConfig: json('source_config').notNull(),
|
||||
syncMode: text('sync_mode').notNull().default('incremental'),
|
||||
syncMode: text('sync_mode').notNull().default('full'),
|
||||
syncIntervalMinutes: integer('sync_interval_minutes').notNull().default(1440),
|
||||
status: text('status').notNull().default('active'),
|
||||
lastSyncAt: timestamp('last_sync_at'),
|
||||
|
||||
Reference in New Issue
Block a user