summaryrefslogtreecommitdiffstats
path: root/db/migrate/029_create_wiki_contents.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/029_create_wiki_contents.rb')
-rw-r--r--db/migrate/029_create_wiki_contents.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/029_create_wiki_contents.rb b/db/migrate/029_create_wiki_contents.rb
index fde2d22d0..c5c9f2a45 100644
--- a/db/migrate/029_create_wiki_contents.rb
+++ b/db/migrate/029_create_wiki_contents.rb
@@ -4,7 +4,7 @@ class CreateWikiContents < ActiveRecord::Migration
t.column :page_id, :integer, :null => false
t.column :author_id, :integer
t.column :text, :text
- t.column :comment, :string, :limit => 255, :default => ""
+ t.column :comments, :string, :limit => 255, :default => ""
t.column :updated_on, :datetime, :null => false
t.column :version, :integer, :null => false
end
@@ -16,7 +16,7 @@ class CreateWikiContents < ActiveRecord::Migration
t.column :author_id, :integer
t.column :data, :binary
t.column :compression, :string, :limit => 6, :default => ""
- t.column :comment, :string, :limit => 255, :default => ""
+ t.column :comments, :string, :limit => 255, :default => ""
t.column :updated_on, :datetime, :null => false
t.column :version, :integer, :null => false
end