@@ -452,50 +452,6 @@ fn create_locations_default_table<'a>() -> dbscheme::Entry<'a> {
452
452
} )
453
453
}
454
454
455
- fn create_sourceline_union < ' a > ( ) -> dbscheme:: Entry < ' a > {
456
- dbscheme:: Entry :: Union ( dbscheme:: Union {
457
- name : "sourceline" ,
458
- members : vec ! [ "file" ] . into_iter ( ) . collect ( ) ,
459
- } )
460
- }
461
-
462
- fn create_numlines_table < ' a > ( ) -> dbscheme:: Entry < ' a > {
463
- dbscheme:: Entry :: Table ( dbscheme:: Table {
464
- name : "numlines" ,
465
- columns : vec ! [
466
- dbscheme:: Column {
467
- unique: false ,
468
- db_type: dbscheme:: DbColumnType :: Int ,
469
- name: "element_id" ,
470
- ql_type: ql:: Type :: AtType ( "sourceline" ) ,
471
- ql_type_is_ref: true ,
472
- } ,
473
- dbscheme:: Column {
474
- unique: false ,
475
- db_type: dbscheme:: DbColumnType :: Int ,
476
- name: "num_lines" ,
477
- ql_type: ql:: Type :: Int ,
478
- ql_type_is_ref: true ,
479
- } ,
480
- dbscheme:: Column {
481
- unique: false ,
482
- db_type: dbscheme:: DbColumnType :: Int ,
483
- name: "num_code" ,
484
- ql_type: ql:: Type :: Int ,
485
- ql_type_is_ref: true ,
486
- } ,
487
- dbscheme:: Column {
488
- unique: false ,
489
- db_type: dbscheme:: DbColumnType :: Int ,
490
- name: "num_comment" ,
491
- ql_type: ql:: Type :: Int ,
492
- ql_type_is_ref: true ,
493
- } ,
494
- ] ,
495
- keysets : None ,
496
- } )
497
- }
498
-
499
455
fn create_container_union < ' a > ( ) -> dbscheme:: Entry < ' a > {
500
456
dbscheme:: Entry :: Union ( dbscheme:: Union {
501
457
name : "container" ,
@@ -649,8 +605,6 @@ fn main() -> std::io::Result<()> {
649
605
& [
650
606
create_location_union ( ) ,
651
607
create_locations_default_table ( ) ,
652
- create_sourceline_union ( ) ,
653
- create_numlines_table ( ) ,
654
608
create_files_table ( ) ,
655
609
create_folders_table ( ) ,
656
610
create_container_union ( ) ,
0 commit comments