@@ -82,6 +82,8 class Setup < ActiveRecord::Migration | |||
|
82 | 82 | t.column "created_on", :timestamp |
|
83 | 83 | end |
|
84 | 84 | |
|
85 | add_index "documents", ["project_id"], :name => "documents_project_id" | |
|
86 | ||
|
85 | 87 | create_table "enumerations", :force => true do |t| |
|
86 | 88 | t.column "opt", :string, :limit => 4, :default => "", :null => false |
|
87 | 89 | t.column "name", :string, :limit => 30, :default => "", :null => false |
@@ -92,6 +94,8 class Setup < ActiveRecord::Migration | |||
|
92 | 94 | t.column "name", :string, :limit => 30, :default => "", :null => false |
|
93 | 95 | end |
|
94 | 96 | |
|
97 | add_index "issue_categories", ["project_id"], :name => "issue_categories_project_id" | |
|
98 | ||
|
95 | 99 | create_table "issue_histories", :force => true do |t| |
|
96 | 100 | t.column "issue_id", :integer, :default => 0, :null => false |
|
97 | 101 | t.column "status_id", :integer, :default => 0, :null => false |
@@ -144,6 +148,8 class Setup < ActiveRecord::Migration | |||
|
144 | 148 | t.column "created_on", :timestamp |
|
145 | 149 | end |
|
146 | 150 | |
|
151 | add_index "news", ["project_id"], :name => "news_project_id" | |
|
152 | ||
|
147 | 153 | create_table "permissions", :force => true do |t| |
|
148 | 154 | t.column "controller", :string, :limit => 30, :default => "", :null => false |
|
149 | 155 | t.column "action", :string, :limit => 30, :default => "", :null => false |
@@ -213,6 +219,8 class Setup < ActiveRecord::Migration | |||
|
213 | 219 | t.column "updated_on", :timestamp |
|
214 | 220 | end |
|
215 | 221 | |
|
222 | add_index "versions", ["project_id"], :name => "versions_project_id" | |
|
223 | ||
|
216 | 224 | create_table "workflows", :force => true do |t| |
|
217 | 225 | t.column "tracker_id", :integer, :default => 0, :null => false |
|
218 | 226 | t.column "old_status_id", :integer, :default => 0, :null => false |
General Comments 0
You need to be logged in to leave comments.
Login now