@@ -64,7 +64,7 @@ public ISchemaBuilder CreateMapIndexTable(Type indexType, Action<ICreateTableCom
6464 table ( createTable ) ;
6565 Execute ( _commandInterpreter . CreateSql ( createTable ) ) ;
6666
67- CreateForeignKey ( "FK_" + ( collection ?? "" ) + indexName , indexTable , new [ ] { "DocumentId" } , documentTable , new [ ] { "Id" } ) ;
67+ // CreateForeignKey("FK_" + (collection ?? "") + indexName, indexTable, new[] { "DocumentId" }, documentTable, new[] { "Id" });
6868
6969 AlterTable ( indexTable , table =>
7070 table . CreateIndex ( $ "IDX_FK_{ indexTable } ", "DocumentId" )
@@ -106,8 +106,8 @@ public ISchemaBuilder CreateReduceIndexTable(Type indexType, Action<ICreateTable
106106 . Column < int > ( "DocumentId" , column => column . NotNull ( ) )
107107 ) ;
108108
109- CreateForeignKey ( "FK_" + bridgeTableName + "_Id" , bridgeTableName , new [ ] { indexName + "Id" } , indexTable , new [ ] { "Id" } ) ;
110- CreateForeignKey ( "FK_" + bridgeTableName + "_DocumentId" , bridgeTableName , new [ ] { "DocumentId" } , documentTable , new [ ] { "Id" } ) ;
109+ // CreateForeignKey("FK_" + bridgeTableName + "_Id", bridgeTableName, new[] { indexName + "Id" }, indexTable, new[] { "Id" });
110+ // CreateForeignKey("FK_" + bridgeTableName + "_DocumentId", bridgeTableName, new[] { "DocumentId" }, documentTable, new[] { "Id" });
111111
112112 AlterTable ( bridgeTableName , table =>
113113 table . CreateIndex ( $ "IDX_FK_{ bridgeTableName } ", indexName + "Id" , "DocumentId" )
0 commit comments