summaryrefslogtreecommitdiffstats
path: root/db/migrate/001_setup.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-12 12:37:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-12 12:37:05 +0000
commit9f0ddb89a0ba927a421127021ffc0bac9e0addc2 (patch)
tree5aa14aa1a42db3ec82b5a32f9f8c78ad2a085e60 /db/migrate/001_setup.rb
parente9ba8a4494228647a632c76a29bad4921cf20f9b (diff)
downloadredmine-9f0ddb89a0ba927a421127021ffc0bac9e0addc2.tar.gz
redmine-9f0ddb89a0ba927a421127021ffc0bac9e0addc2.zip
Changed 'versions' table creation to allow null values for 'effective_date' field.
This change was done in migration 048 but seems to have no effect with SQLite. git-svn-id: http://redmine.rubyforge.org/svn/trunk@611 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/001_setup.rb')
-rw-r--r--db/migrate/001_setup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/001_setup.rb b/db/migrate/001_setup.rb
index 3a30380f7..c61b2c37f 100644
--- a/db/migrate/001_setup.rb
+++ b/db/migrate/001_setup.rb
@@ -214,7 +214,7 @@ class Setup < ActiveRecord::Migration
t.column "project_id", :integer, :default => 0, :null => false
t.column "name", :string, :limit => 30, :default => "", :null => false
t.column "description", :string, :default => ""
- t.column "effective_date", :date, :null => false
+ t.column "effective_date", :date
t.column "created_on", :timestamp
t.column "updated_on", :timestamp
end