mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Fixing Comments migration
--HG-- branch : 1.x
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user