@@ -2932,8 +2932,8 @@ def annotate_one_file(options = {})
2932
2932
mock_column ( :foreign_thing_id , :integer )
2933
2933
] ,
2934
2934
[
2935
- mock_index ( 'index_rails_02e851e3b7' , columns : [ 'id' ] ) ,
2936
- mock_index ( 'index_rails_02e851e3b8' , columns : [ 'foreign_thing_id' ] )
2935
+ mock_index ( 'index_rails_02e851e3b7' , columns : [ 'id' ] ) ,
2936
+ mock_index ( 'index_rails_02e851e3b8' , columns : [ 'foreign_thing_id' ] )
2937
2937
] )
2938
2938
@schema_info = AnnotateModels . get_schema_info ( klass , '== Schema Info' , show_indexes : true )
2939
2939
annotate_one_file
@@ -2948,12 +2948,11 @@ def annotate_one_file(options = {})
2948
2948
mock_column ( :another_column , :integer )
2949
2949
] ,
2950
2950
[
2951
- mock_index ( 'index_rails_02e851e3b7' , columns : [ 'id' ] ) ,
2952
- mock_index ( 'index_rails_02e851e3b8' , columns : [ 'foreign_thing_id' ] ) ,
2953
- mock_index ( 'index_rails_02e851e3b9' ,
2954
- columns : [ 'another_column' ] ,
2955
- where : "another_column IS NOT NULL"
2956
- )
2951
+ mock_index ( 'index_rails_02e851e3b7' , columns : [ 'id' ] ) ,
2952
+ mock_index ( 'index_rails_02e851e3b8' , columns : [ 'foreign_thing_id' ] ) ,
2953
+ mock_index ( 'index_rails_02e851e3b9' ,
2954
+ columns : [ 'another_column' ] ,
2955
+ where : "another_column IS NOT NULL" )
2957
2956
] )
2958
2957
@schema_info = AnnotateModels . get_schema_info ( klass , '== Schema Info' , show_indexes : true )
2959
2958
annotate_one_file
@@ -2969,12 +2968,11 @@ def annotate_one_file(options = {})
2969
2968
mock_column ( :another_column , :text )
2970
2969
] ,
2971
2970
[
2972
- mock_index ( 'index_rails_02e851e3b7' , columns : [ 'id' ] ) ,
2973
- mock_index ( 'index_rails_02e851e3b8' , columns : [ 'foreign_thing_id' ] ) ,
2974
- mock_index ( 'index_rails_02e851e3b9' ,
2975
- columns : [ 'another_column' ] ,
2976
- where : "another_column LIKE '\\ \\ %'"
2977
- )
2971
+ mock_index ( 'index_rails_02e851e3b7' , columns : [ 'id' ] ) ,
2972
+ mock_index ( 'index_rails_02e851e3b8' , columns : [ 'foreign_thing_id' ] ) ,
2973
+ mock_index ( 'index_rails_02e851e3b9' ,
2974
+ columns : [ 'another_column' ] ,
2975
+ where : "another_column LIKE '\\ \\ %'" )
2978
2976
] )
2979
2977
@schema_info = AnnotateModels . get_schema_info ( klass , '== Schema Info' , show_indexes : true )
2980
2978
annotate_one_file
0 commit comments