OSDN Git Service

Changed 'versions' table creation to allow null values for 'effective_date' field.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 12 Aug 2007 12:37:05 +0000 (12:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 12 Aug 2007 12:37:05 +0000 (12:37 +0000)
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

db/migrate/001_setup.rb

index 3a30380..c61b2c3 100644 (file)
@@ -214,7 +214,7 @@ class Setup < ActiveRecord::Migration
       t.column "project_id", :integer, :default => 0, :null => false\r
       t.column "name", :string, :limit => 30, :default => "", :null => false\r
       t.column "description", :string, :default => ""\r
-      t.column "effective_date", :date, :null => false\r
+      t.column "effective_date", :date\r
       t.column "created_on", :timestamp\r
       t.column "updated_on", :timestamp\r
     end