diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-22 21:07:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-22 21:07:13 +0000 |
commit | 8f7f305f7cf89c6086411ad846223bd2583f8369 (patch) | |
tree | 23b408368058d62c9669932ea6b5e689979894e1 /db/migrate/045_create_boards.rb | |
parent | 33003e5b2d881a30df7dc37a0c2a7b07b2a67ebe (diff) | |
download | redmine-8f7f305f7cf89c6086411ad846223bd2583f8369.tar.gz redmine-8f7f305f7cf89c6086411ad846223bd2583f8369.zip |
Removed 'not null' constraint on position fields.
Previous migrations updated for new sqlite databases.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@864 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/045_create_boards.rb')
-rw-r--r-- | db/migrate/045_create_boards.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/045_create_boards.rb b/db/migrate/045_create_boards.rb index b8647c812..17f2bbbe2 100644 --- a/db/migrate/045_create_boards.rb +++ b/db/migrate/045_create_boards.rb @@ -4,7 +4,7 @@ class CreateBoards < ActiveRecord::Migration t.column :project_id, :integer, :null => false t.column :name, :string, :default => "", :null => false t.column :description, :string - t.column :position, :integer, :default => 1, :null => false + t.column :position, :integer, :default => 1 t.column :topics_count, :integer, :default => 0, :null => false t.column :messages_count, :integer, :default => 0, :null => false t.column :last_message_id, :integer |