Skip to content

Commit 9c9c60a

Browse files
committed
Fix for undefined method `version_comments=' for #<KbArticle::Version:...>
This fixes #247 and #255. The issue boiled down to a missing column. Unfortunately, this took WAAY too long to get around to fixing.
1 parent 09d0d8c commit 9c9c60a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddArticleVersionsComments < ActiveRecord::Migration
2+
def self.up
3+
add_column :kb_article_versions, :version_comments, :string, limit: 255, default: "" unless column_exists?(:kb_article_versions, :version_comments)
4+
end
5+
end

0 commit comments

Comments
 (0)