diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-19 18:12:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-19 18:12:35 +0000 |
commit | 59e3802c7476591cfa1d50c2008ecf9e67e75828 (patch) | |
tree | 8dfcd68b50d290c5c1284de5b181469d6736a1fd /db/migrate/029_create_wiki_contents.rb | |
parent | a1d2acd574f5761f245abb6d587ecca0c61c1382 (diff) | |
download | redmine-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/029_create_wiki_contents.rb')
-rw-r--r-- | db/migrate/029_create_wiki_contents.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/029_create_wiki_contents.rb b/db/migrate/029_create_wiki_contents.rb index 5c25c5e1a..fde2d22d0 100644 --- a/db/migrate/029_create_wiki_contents.rb +++ b/db/migrate/029_create_wiki_contents.rb @@ -3,7 +3,7 @@ class CreateWikiContents < ActiveRecord::Migration create_table :wiki_contents do |t| t.column :page_id, :integer, :null => false t.column :author_id, :integer - t.column :text, :text, :default => "", :null => false + t.column :text, :text t.column :comment, :string, :limit => 255, :default => "" t.column :updated_on, :datetime, :null => false t.column :version, :integer, :null => false |