From: Jean-Philippe Lang Date: Sun, 12 Aug 2007 12:37:05 +0000 (+0000) Subject: Changed 'versions' table creation to allow null values for 'effective_date' field. X-Git-Tag: 0.6.0~263 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f0ddb89a0ba927a421127021ffc0bac9e0addc2;p=redmine.git 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 --- 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