Skip to content

Commit

Permalink
missing comma/syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsayo authored Feb 9, 2025
1 parent 819e878 commit ae6c4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-sqlite/src/sqliteTables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS "characters" (
"id" TEXT PRIMARY KEY,
"name" TEXT,
"json" TEXT DEFAULT '{}' CHECK(json_valid("json")) -- Ensuring json is a valid JSON object
"json" TEXT DEFAULT '{}' CHECK(json_valid("json")),
"createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
Expand Down Expand Up @@ -135,4 +135,4 @@ CREATE INDEX IF NOT EXISTS "knowledge_content_key" ON "knowledge"
CREATE INDEX IF NOT EXISTS "knowledge_created_key" ON "knowledge" ("agentId", "createdAt");
CREATE INDEX IF NOT EXISTS "knowledge_shared_key" ON "knowledge" ("isShared");
COMMIT;`;
COMMIT;`;

0 comments on commit ae6c4c5

Please sign in to comment.