indexes added
git-svn-id: http://redmine.rubyforge.org/svn/trunk@25 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
dc26a9cd39
commit
fbafa95791
|
@ -82,6 +82,8 @@ class Setup < ActiveRecord::Migration
|
|||
t.column "created_on", :timestamp
|
||||
end
|
||||
|
||||
add_index "documents", ["project_id"], :name => "documents_project_id"
|
||||
|
||||
create_table "enumerations", :force => true do |t|
|
||||
t.column "opt", :string, :limit => 4, :default => "", :null => false
|
||||
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||||
|
@ -92,6 +94,8 @@ class Setup < ActiveRecord::Migration
|
|||
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||||
end
|
||||
|
||||
add_index "issue_categories", ["project_id"], :name => "issue_categories_project_id"
|
||||
|
||||
create_table "issue_histories", :force => true do |t|
|
||||
t.column "issue_id", :integer, :default => 0, :null => false
|
||||
t.column "status_id", :integer, :default => 0, :null => false
|
||||
|
@ -144,6 +148,8 @@ class Setup < ActiveRecord::Migration
|
|||
t.column "created_on", :timestamp
|
||||
end
|
||||
|
||||
add_index "news", ["project_id"], :name => "news_project_id"
|
||||
|
||||
create_table "permissions", :force => true do |t|
|
||||
t.column "controller", :string, :limit => 30, :default => "", :null => false
|
||||
t.column "action", :string, :limit => 30, :default => "", :null => false
|
||||
|
@ -213,6 +219,8 @@ class Setup < ActiveRecord::Migration
|
|||
t.column "updated_on", :timestamp
|
||||
end
|
||||
|
||||
add_index "versions", ["project_id"], :name => "versions_project_id"
|
||||
|
||||
create_table "workflows", :force => true do |t|
|
||||
t.column "tracker_id", :integer, :default => 0, :null => false
|
||||
t.column "old_status_id", :integer, :default => 0, :null => false
|
||||
|
|
Loading…
Reference in New Issue