t.column "title", :string, :limit => 60, :default => "", :null => false\r
t.column "description", :text, :default => ""\r
t.column "created_on", :timestamp\r
- end\r
+ end
+
+ add_index "documents", ["project_id"], :name => "documents_project_id"\r
\r
create_table "enumerations", :force => true do |t|\r
t.column "opt", :string, :limit => 4, :default => "", :null => false\r
create_table "issue_categories", :force => true do |t|\r
t.column "project_id", :integer, :default => 0, :null => false\r
t.column "name", :string, :limit => 30, :default => "", :null => false\r
- end\r
+ end
+
+ add_index "issue_categories", ["project_id"], :name => "issue_categories_project_id"\r
\r
create_table "issue_histories", :force => true do |t|\r
t.column "issue_id", :integer, :default => 0, :null => false\r
t.column "description", :text, :default => "", :null => false\r
t.column "author_id", :integer, :default => 0, :null => false\r
t.column "created_on", :timestamp\r
- end\r
+ end
+
+ add_index "news", ["project_id"], :name => "news_project_id"\r
\r
create_table "permissions", :force => true do |t|\r
t.column "controller", :string, :limit => 30, :default => "", :null => false\r
t.column "effective_date", :date, :null => false\r
t.column "created_on", :timestamp\r
t.column "updated_on", :timestamp\r
- end\r
+ end
+
+ add_index "versions", ["project_id"], :name => "versions_project_id"\r
\r
create_table "workflows", :force => true do |t|\r
t.column "tracker_id", :integer, :default => 0, :null => false\r