Fixing Comments migration

--HG--
branch : 1.x
This commit is contained in:
ldhertert
2011-12-02 17:57:10 -08:00
parent b72e486fe9
commit 986c3640ba

View File

@@ -67,9 +67,9 @@ namespace Orchard.Comments {
}
public int UpdateFrom2() {
//SchemaBuilder.AlterTable("CommentPartRecord", table => table
// .AddColumn<int>("CommentsPartRecord_id")
// );
SchemaBuilder.AlterTable("CommentPartRecord", table => table
.AddColumn<int>("CommentsPartRecord_id")
);
// populate the CommentsPartRecord.Comments property
foreach(var comment in _commentService.GetComments().List()) {