@@ -174,7 +174,7 @@ export const seedfile = async (databaseUrl: string) => {
174
174
} )
175
175
. execute ( ) ;
176
176
177
- const { benchmark_id : benchmark_student_2_goal_id } = await db
177
+ const { benchmark_id : benchmark_1_student_2_goal_id } = await db
178
178
. insertInto ( "benchmark" )
179
179
. values ( {
180
180
goal_id : student_2_goal_id ,
@@ -197,7 +197,35 @@ export const seedfile = async (databaseUrl: string) => {
197
197
await db
198
198
. insertInto ( "task" )
199
199
. values ( {
200
- benchmark_id : benchmark_student_2_goal_id ,
200
+ benchmark_id : benchmark_1_student_2_goal_id ,
201
+ assignee_id : firstuser . user_id ,
202
+ } )
203
+ . execute ( ) ;
204
+
205
+ const { benchmark_id : benchmark_2_student_2_goal_id } = await db
206
+ . insertInto ( "benchmark" )
207
+ . values ( {
208
+ goal_id : student_2_goal_id ,
209
+ status : "In Progress" ,
210
+ description : "Insert handouts into notebooks in appropriate place" ,
211
+ setup : "N/A" ,
212
+ instructions :
213
+ "Have student insert sorted notes into notebooks in appropriate position by dates" ,
214
+ materials : "Pen, folders for each class" ,
215
+ frequency : "Tuesdays and Fridays" ,
216
+ target_level : 80 ,
217
+ baseline_level : 0 ,
218
+ attempts_per_trial : 4 ,
219
+ number_of_trials : 16 ,
220
+ metric_name : "" ,
221
+ } )
222
+ . returning ( "benchmark_id" )
223
+ . executeTakeFirstOrThrow ( ) ;
224
+
225
+ await db
226
+ . insertInto ( "task" )
227
+ . values ( {
228
+ benchmark_id : benchmark_2_student_2_goal_id ,
201
229
assignee_id : firstuser . user_id ,
202
230
} )
203
231
. execute ( ) ;
0 commit comments