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
This commit is contained in:
Jean-Philippe Lang
2007-03-19 18:12:35 +00:00
parent a1d2acd574
commit 59e3802c74
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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