summaryrefslogtreecommitdiffstats
path: root/db/migrate/010_create_comments.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-19 18:12:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-19 18:12:35 +0000
commit59e3802c7476591cfa1d50c2008ecf9e67e75828 (patch)
tree8dfcd68b50d290c5c1284de5b181469d6736a1fd /db/migrate/010_create_comments.rb
parenta1d2acd574f5761f245abb6d587ecca0c61c1382 (diff)
downloadredmine-59e3802c7476591cfa1d50c2008ecf9e67e75828.tar.gz
redmine-59e3802c7476591cfa1d50c2008ecf9e67e75828.zip
fixed migration scripts to work with mysql 5 running in strict mode
git-svn-id: http://redmine.rubyforge.org/svn/trunk@349 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/010_create_comments.rb')
-rw-r--r--db/migrate/010_create_comments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/010_create_comments.rb b/db/migrate/010_create_comments.rb
index 322a019bc..d804140b0 100644
--- a/db/migrate/010_create_comments.rb
+++ b/db/migrate/010_create_comments.rb
@@ -4,7 +4,7 @@ class CreateComments < ActiveRecord::Migration
t.column :commented_type, :string, :limit => 30, :default => "", :null => false
t.column :commented_id, :integer, :default => 0, :null => false
t.column :author_id, :integer, :default => 0, :null => false
- t.column :comment, :text, :default => "", :null => false
+ t.column :comment, :text
t.column :created_on, :datetime, :null => false
t.column :updated_on, :datetime, :null => false
end