This repository was archived by the owner on Mar 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ CREATE TABLE user_crew_execution_steps (
301
301
302
302
-- Define indexes for execution steps
303
303
CREATE INDEX idx_execution_steps_created_at ON user_crew_execution_steps(created_at);
304
- CREATE INDEX idx_execution_steps_profile_id ON user_crew_execution_steps(profile_id)
304
+ CREATE INDEX idx_execution_steps_profile_id ON user_crew_execution_steps(profile_id);
305
305
CREATE INDEX idx_execution_steps_crew_id ON user_crew_execution_steps(crew_id);
306
306
CREATE INDEX idx_execution_steps_execution_id ON user_crew_execution_steps(execution_id);
307
307
CREATE INDEX idx_execution_steps_type ON user_crew_execution_steps(step_type);
@@ -383,8 +383,3 @@ BEGIN
383
383
updated_at = CURRENT_TIMESTAMP
384
384
WHERE id = OLD .crew_id ;
385
385
END;
386
-
387
- -- Ask Aider how to link user_crews or user_crew_executions to user_crons,
388
- -- then use a trigger to update last run when a valid cron is triggered.
389
- -- Leaning toward a boolean on user_crews that references the value in
390
- -- user_crons for cron_enabled on the same id.
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ export class DatabaseDO extends DurableObject<Env> {
23
23
private readonly BASE_PATH = '/database' ;
24
24
private readonly KEY_PREFIX = 'db' ;
25
25
private readonly SUPPORTED_ENDPOINTS : string [ ] = [
26
- '/hello' ,
27
26
'/conversations' ,
28
27
'/conversations/latest' ,
29
28
'/conversations/history' ,
@@ -112,12 +111,6 @@ export class DatabaseDO extends DurableObject<Env> {
112
111
} ) ;
113
112
}
114
113
115
- if ( endpoint === '/hello' ) {
116
- return createJsonResponse ( {
117
- message : 'hello from database!' ,
118
- } ) ;
119
- }
120
-
121
114
// all methods from this point forward require a shared key
122
115
// frontend and backend each have their own stored in KV
123
116
const authResult = await this . validateAuth ( request ) ;
You can’t perform that action at this time.
0 commit comments