Skip to content
Browse files

Change type of column content from string to text.

  • Loading branch information...
1 parent 5abce24 commit 4420a1e1c6cff6c638d0d071b8caea1d29e18d04 @guanxiaohua2k6 guanxiaohua2k6 committed Dec 7, 2011
View
2 db/migrate/20110819082743_create_component_configs.rb
@@ -19,7 +19,7 @@ def self.up
t.references :proposal
t.references :component
t.references :component_config_default
- t.string :content
+ t.text :content
t.timestamps
end
View
2 db/migrate/20110822083533_create_software_configs.rb
@@ -19,7 +19,7 @@ def self.up
t.references :software_config_default
t.references :software
t.references :proposal
- t.string :content
+ t.text :content
t.timestamps
end
View
2 db/migrate/20110906054856_create_software_config_defaults.rb
@@ -17,7 +17,7 @@ class CreateSoftwareConfigDefaults < ActiveRecord::Migration
def self.up
create_table :software_config_defaults do |t|
t.string :path
- t.string :content
+ t.text :content
t.references :software
t.timestamps
View
2 db/migrate/20110906060326_create_component_config_defaults.rb
@@ -17,7 +17,7 @@ class CreateComponentConfigDefaults < ActiveRecord::Migration
def self.up
create_table :component_config_defaults do |t|
t.string :path
- t.string :content
+ t.text :content
t.references :component
t.timestamps
View
2 db/migrate/20110913080207_create_logs.rb
@@ -16,7 +16,7 @@
class CreateLogs < ActiveRecord::Migration
def self.up
create_table :logs do |t|
- t.string :content
+ t.text :content
t.string :operation
t.references :proposal
t.references :node
View
10 db/schema.rb
@@ -14,7 +14,7 @@
create_table "component_config_defaults", :force => true do |t|
t.string "path"
- t.string "content"
+ t.text "content"
t.integer "component_id"
t.datetime "created_at"
t.datetime "updated_at"
@@ -24,7 +24,7 @@
t.integer "proposal_id"
t.integer "component_id"
t.integer "component_config_default_id"
- t.string "content"
+ t.text "content"
t.datetime "created_at"
t.datetime "updated_at"
end
@@ -62,7 +62,7 @@
end
create_table "logs", :force => true do |t|
- t.string "content"
+ t.text "content"
t.string "operation"
t.integer "proposal_id"
t.integer "node_id"
@@ -97,7 +97,7 @@
create_table "software_config_defaults", :force => true do |t|
t.string "path"
- t.string "content"
+ t.text "content"
t.integer "software_id"
t.datetime "created_at"
t.datetime "updated_at"
@@ -107,7 +107,7 @@
t.integer "software_config_default_id"
t.integer "software_id"
t.integer "proposal_id"
- t.string "content"
+ t.text "content"
t.datetime "created_at"
t.datetime "updated_at"
end

0 comments on commit 4420a1e

Please sign in to comment.
Something went wrong with that request. Please try again.