diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-06-28 19:54:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-06-28 19:54:35 +0000 |
commit | b1ede59d02891c0e284e15680abd73301374d3bc (patch) | |
tree | be04dd194c03eb4688203070c9f818b849e6fbe5 /redmine/db/migrate/001_setup.rb | |
parent | 6b7650e2f03156ea1e3985b30c1995e44c317e3d (diff) | |
download | redmine-b1ede59d02891c0e284e15680abd73301374d3bc.tar.gz redmine-b1ede59d02891c0e284e15680abd73301374d3bc.zip |
SQL error using PostgreSQL
git-svn-id: http://redmine.rubyforge.org/svn/trunk@5 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/db/migrate/001_setup.rb')
-rw-r--r-- | redmine/db/migrate/001_setup.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redmine/db/migrate/001_setup.rb b/redmine/db/migrate/001_setup.rb index e6288f61d..c075c89f5 100644 --- a/redmine/db/migrate/001_setup.rb +++ b/redmine/db/migrate/001_setup.rb @@ -15,13 +15,13 @@ class Setup < ActiveRecord::Migration create_table "custom_fields", :force => true do |t|
t.column "name", :string, :limit => 30, :default => "", :null => false
- t.column "typ", :integer, :limit => 6, :default => 0, :null => false
+ t.column "typ", :integer, :default => 0, :null => false
t.column "is_required", :boolean, :default => false, :null => false
t.column "is_for_all", :boolean, :default => false, :null => false
t.column "possible_values", :text, :default => "", :null => false
t.column "regexp", :string, :default => "", :null => false
- t.column "min_length", :integer, :limit => 4, :default => 0, :null => false
- t.column "max_length", :integer, :limit => 4, :default => 0, :null => false
+ t.column "min_length", :integer, :default => 0, :null => false
+ t.column "max_length", :integer, :default => 0, :null => false
end
create_table "custom_fields_projects", :id => false, :force => true do |t|
|