|
@@
-49,7
+49,7
class Setup < ActiveRecord::Migration
|
|
49
|
t.column "type", :string, :limit => 30, :default => "", :null => false
|
|
49
|
t.column "type", :string, :limit => 30, :default => "", :null => false
|
|
50
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
|
50
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
|
51
|
t.column "field_format", :string, :limit => 30, :default => "", :null => false
|
|
51
|
t.column "field_format", :string, :limit => 30, :default => "", :null => false
|
|
52
|
t.column "possible_values", :text, :default => ""
|
|
52
|
t.column "possible_values", :text
|
|
53
|
t.column "regexp", :string, :default => ""
|
|
53
|
t.column "regexp", :string, :default => ""
|
|
54
|
t.column "min_length", :integer, :default => 0, :null => false
|
|
54
|
t.column "min_length", :integer, :default => 0, :null => false
|
|
55
|
t.column "max_length", :integer, :default => 0, :null => false
|
|
55
|
t.column "max_length", :integer, :default => 0, :null => false
|
|
@@
-71,14
+71,14
class Setup < ActiveRecord::Migration
|
|
71
|
t.column "customized_type", :string, :limit => 30, :default => "", :null => false
|
|
71
|
t.column "customized_type", :string, :limit => 30, :default => "", :null => false
|
|
72
|
t.column "customized_id", :integer, :default => 0, :null => false
|
|
72
|
t.column "customized_id", :integer, :default => 0, :null => false
|
|
73
|
t.column "custom_field_id", :integer, :default => 0, :null => false
|
|
73
|
t.column "custom_field_id", :integer, :default => 0, :null => false
|
|
74
|
t.column "value", :text, :default => "", :null => false
|
|
74
|
t.column "value", :text
|
|
75
|
end
|
|
75
|
end
|
|
76
|
|
|
76
|
|
|
77
|
create_table "documents", :force => true do |t|
|
|
77
|
create_table "documents", :force => true do |t|
|
|
78
|
t.column "project_id", :integer, :default => 0, :null => false
|
|
78
|
t.column "project_id", :integer, :default => 0, :null => false
|
|
79
|
t.column "category_id", :integer, :default => 0, :null => false
|
|
79
|
t.column "category_id", :integer, :default => 0, :null => false
|
|
80
|
t.column "title", :string, :limit => 60, :default => "", :null => false
|
|
80
|
t.column "title", :string, :limit => 60, :default => "", :null => false
|
|
81
|
t.column "description", :text, :default => ""
|
|
81
|
t.column "description", :text
|
|
82
|
t.column "created_on", :timestamp
|
|
82
|
t.column "created_on", :timestamp
|
|
83
|
end
|
|
83
|
end
|
|
84
|
|
|
84
|
|
|
@@
-100,7
+100,7
class Setup < ActiveRecord::Migration
|
|
100
|
t.column "issue_id", :integer, :default => 0, :null => false
|
|
100
|
t.column "issue_id", :integer, :default => 0, :null => false
|
|
101
|
t.column "status_id", :integer, :default => 0, :null => false
|
|
101
|
t.column "status_id", :integer, :default => 0, :null => false
|
|
102
|
t.column "author_id", :integer, :default => 0, :null => false
|
|
102
|
t.column "author_id", :integer, :default => 0, :null => false
|
|
103
|
t.column "notes", :text, :default => ""
|
|
103
|
t.column "notes", :text
|
|
104
|
t.column "created_on", :timestamp
|
|
104
|
t.column "created_on", :timestamp
|
|
105
|
end
|
|
105
|
end
|
|
106
|
|
|
106
|
|
|
@@
-117,7
+117,7
class Setup < ActiveRecord::Migration
|
|
117
|
t.column "tracker_id", :integer, :default => 0, :null => false
|
|
117
|
t.column "tracker_id", :integer, :default => 0, :null => false
|
|
118
|
t.column "project_id", :integer, :default => 0, :null => false
|
|
118
|
t.column "project_id", :integer, :default => 0, :null => false
|
|
119
|
t.column "subject", :string, :default => "", :null => false
|
|
119
|
t.column "subject", :string, :default => "", :null => false
|
|
120
|
t.column "description", :text, :default => "", :null => false
|
|
120
|
t.column "description", :text
|
|
121
|
t.column "due_date", :date
|
|
121
|
t.column "due_date", :date
|
|
122
|
t.column "category_id", :integer
|
|
122
|
t.column "category_id", :integer
|
|
123
|
t.column "status_id", :integer, :default => 0, :null => false
|
|
123
|
t.column "status_id", :integer, :default => 0, :null => false
|
|
@@
-143,7
+143,7
class Setup < ActiveRecord::Migration
|
|
143
|
t.column "project_id", :integer
|
|
143
|
t.column "project_id", :integer
|
|
144
|
t.column "title", :string, :limit => 60, :default => "", :null => false
|
|
144
|
t.column "title", :string, :limit => 60, :default => "", :null => false
|
|
145
|
t.column "summary", :string, :limit => 255, :default => ""
|
|
145
|
t.column "summary", :string, :limit => 255, :default => ""
|
|
146
|
t.column "description", :text, :default => "", :null => false
|
|
146
|
t.column "description", :text
|
|
147
|
t.column "author_id", :integer, :default => 0, :null => false
|
|
147
|
t.column "author_id", :integer, :default => 0, :null => false
|
|
148
|
t.column "created_on", :timestamp
|
|
148
|
t.column "created_on", :timestamp
|
|
149
|
end
|
|
149
|
end
|