@@ -4,12 +4,14 @@ VALUES ('a1111111-1111-1111-1111-111111111111', 'user', 'user@user.com', 'stripe
44INSERT INTO public." User" (" id" ," email" ," stripeCustomerId" ," macro_user_id" )
55VALUES (' macro|user@user.com' , ' user@user.com' ,' stripe_id' ,' a1111111-1111-1111-1111-111111111111' );
66
7- INSERT INTO public." Chat" (" id" ," name" ," userId" ," model" ," createdAt" ," updatedAt" ," isPersistent" )
7+ INSERT INTO public." Chat" (" id" ," name" ," userId" ," model" ," createdAt" ," updatedAt" ," deletedAt " , " isPersistent" )
88VALUES
9- (' chat-persistent' , ' persistent chat' , ' macro|user@user.com' , ' gpt-4o' , ' 2024-01-01 00:00:00' , ' 2024-01-01 00:00:00' , true),
10- (' chat-ephemeral' , ' ephemeral chat' , ' macro|user@user.com' , ' gpt-4o' , ' 2024-01-01 00:00:00' , ' 2024-01-01 00:00:00' , false);
9+ (' chat-persistent' , ' persistent chat' , ' macro|user@user.com' , ' gpt-4o' , ' 2024-01-01 00:00:00' , ' 2024-01-01 00:00:00' , NULL , true),
10+ (' chat-ephemeral' , ' ephemeral chat' , ' macro|user@user.com' , ' gpt-4o' , ' 2024-02-01 00:00:00' , ' 2024-02-01 00:00:00' , NULL , false),
11+ (' chat-deleted' , ' deleted chat' , ' macro|user@user.com' , ' gpt-4o' , ' 2024-03-01 00:00:00' , ' 2024-03-01 00:00:00' , ' 2024-03-04 05:06:07.890' , true);
1112
12- INSERT INTO public." ChatMessage" (" id" ," content" ," role" ," chatId" )
13+ INSERT INTO public." ChatMessage" (" id" ," content" ," role" ," chatId" , " createdAt " , " updatedAt " )
1314VALUES
14- (' msg-persistent' , ' "codebase brighter"' , ' user' , ' chat-persistent' ),
15- (' msg-ephemeral' , ' "another message"' , ' user' , ' chat-ephemeral' );
15+ (' msg-persistent' , ' "codebase brighter"' , ' user' , ' chat-persistent' , ' 2024-01-02 03:04:05.123' , ' 2024-01-03 04:05:06.789' ),
16+ (' msg-ephemeral' , ' "another message"' , ' assistant' , ' chat-ephemeral' , ' 2024-02-02 03:04:05.123' , ' 2024-02-03 04:05:06.789' ),
17+ (' msg-deleted' , ' "remove from search"' , ' assistant' , ' chat-deleted' , ' 2024-03-02 03:04:05.123' , ' 2024-03-03 04:05:06.789' );
0 commit comments