228
228
229
229
function multihead_conn_testdata .init_spaces ()
230
230
local ID_FIELD_NUM = 2
231
- local HERO_ID_FIELD_NUM = 3
231
+ local HERO_ID_FIELD_NUM = 3
232
232
233
233
box .once (' test_space_init_spaces' , function ()
234
234
box .schema .create_space (' hero_collection' )
@@ -251,15 +251,17 @@ function multihead_conn_testdata.init_spaces()
251
251
{ type = ' tree' , unique = true , parts = { ID_FIELD_NUM , ' string' }}
252
252
)
253
253
box .space .credit_account_collection :create_index (' credit_hero_id_index' ,
254
- { type = ' tree' , unique = false , parts = { HERO_ID_FIELD_NUM , ' string' }}
254
+ { type = ' tree' , unique = false ,
255
+ parts = { HERO_ID_FIELD_NUM , ' string' }}
255
256
)
256
257
257
258
box .schema .create_space (' dublon_account_collection' )
258
259
box .space .dublon_account_collection :create_index (' dublon_id_index' ,
259
260
{ type = ' tree' , unique = true , parts = { ID_FIELD_NUM , ' string' }}
260
261
)
261
262
box .space .dublon_account_collection :create_index (' dublon_hero_id_index' ,
262
- { type = ' tree' , unique = false , parts = { HERO_ID_FIELD_NUM , ' string' }}
263
+ { type = ' tree' , unique = false ,
264
+ parts = { HERO_ID_FIELD_NUM , ' string' }}
263
265
)
264
266
end )
265
267
end
@@ -346,14 +348,12 @@ function multihead_conn_testdata.run_queries(gql_wrapper)
346
348
hero_id
347
349
}
348
350
}
349
-
350
351
... on box_array_dublon_account_collection {
351
352
dublon_account_collection {
352
353
account_id
353
354
hero_id
354
355
}
355
356
}
356
-
357
357
}
358
358
}
359
359
}
0 commit comments