--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<projectDescription>\r
+ <name>redmine</name>\r
+ <comment></comment>\r
+ <projects>\r
+ </projects>\r
+ <buildSpec>\r
+ <buildCommand>\r
+ <name>org.rubypeople.rdt.core.rubybuilder</name>\r
+ <arguments>\r
+ </arguments>\r
+ </buildCommand>\r
+ </buildSpec>\r
+ <natures>\r
+ <nature>org.radrails.rails.ui.railsnature</nature>\r
+ <nature>org.rubypeople.rdt.core.rubynature</nature>\r
+ </natures>\r
+</projectDescription>\r
i.status_id=s.id \r
and i.tracker_id=t.id\r
and i.project_id=#{@project.id}\r
- group by s.id, t.id")\r
+ group by s.id, s.is_closed, t.id")\r
@priorities = Enumeration::get_values('IPRI')\r
@issues_by_priority = \r
ActiveRecord::Base.connection.select_all("select s.id as status_id, \r
i.status_id=s.id \r
and i.priority_id=p.id\r
and i.project_id=#{@project.id}\r
- group by s.id, p.id")\r
+ group by s.id, s.is_closed, p.id")\r
@categories = @project.issue_categories\r
@issues_by_category = \r
ActiveRecord::Base.connection.select_all("select s.id as status_id, \r
i.status_id=s.id \r
and i.category_id=c.id\r
and i.project_id=#{@project.id}\r
- group by s.id, c.id")\r
+ group by s.id, s.is_closed, c.id")\r
end\r
\r
\r
host: localhost
username: root
password:
+
+development_pgsql:
+ adapter: postgresql
+ database: redmine
+ host: localhost
+ username: postgres
+ password: "postgres"
\r
test:
adapter: mysql
--- /dev/null
+# Settings specified here will take precedence over those in config/environment.rb
+
+# In the development environment your application's code is reloaded on
+# every request. This slows down response time but is perfect for development
+# since you don't have to restart the webserver when you make code changes.
+config.cache_classes = false
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Enable the breakpoint server that script/breakpointer connects to
+config.breakpoint_server = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_controller.perform_caching = false
+
+# Don't care if the mailer can't send
+config.action_mailer.raise_delivery_errors = false
\r
create_table "custom_fields", :force => true do |t|\r
t.column "name", :string, :limit => 30, :default => "", :null => false\r
- t.column "typ", :integer, :limit => 6, :default => 0, :null => false\r
+ t.column "typ", :integer, :default => 0, :null => false\r
t.column "is_required", :boolean, :default => false, :null => false\r
t.column "is_for_all", :boolean, :default => false, :null => false\r
t.column "possible_values", :text, :default => "", :null => false\r
t.column "regexp", :string, :default => "", :null => false\r
- t.column "min_length", :integer, :limit => 4, :default => 0, :null => false\r
- t.column "max_length", :integer, :limit => 4, :default => 0, :null => false\r
+ t.column "min_length", :integer, :default => 0, :null => false\r
+ t.column "max_length", :integer, :default => 0, :null => false\r
end\r
\r
create_table "custom_fields_projects", :id => false, :force => true do |t|\r