Skip to content

Commit b247cb2

Browse files
committed
Use uuid for generated owner
1 parent 8de293f commit b247cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/example-node/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const main = async () => {
5050
const repl = repl_factory.start();
5151
repl.context.add = async (name: string) => {
5252
await db.execute(
53-
"INSERT INTO lists (id, created_at, name, owner_id) VALUEs (uuid(), datetime('now'), ?, 'test');",
53+
"INSERT INTO lists (id, created_at, name, owner_id) VALUEs (uuid(), datetime('now'), ?, uuid());",
5454
[name]
5555
);
5656
};

0 commit comments

Comments
 (0)