summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/database
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-30 14:24:41 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-30 14:24:41 +0000
commit464e68878f9e02a81d9c812eca6b464e2c1ff6f9 (patch)
tree97e7c4f7c9d69f2d16fc03627e59634253bb7093 /lib/puppet/rails/database
parent48ec13771d90cbff053f72e8b6c06f2d00278fd9 (diff)
downloadpuppet-464e68878f9e02a81d9c812eca6b464e2c1ff6f9.tar.gz
puppet-464e68878f9e02a81d9c812eca6b464e2c1ff6f9.tar.xz
puppet-464e68878f9e02a81d9c812eca6b464e2c1ff6f9.zip
Changing the resource title to be text instead of a string, because some title are > 255 chars
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2539 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/rails/database')
-rw-r--r--lib/puppet/rails/database/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/rails/database/schema.rb b/lib/puppet/rails/database/schema.rb
index c7941184a..f8960f2d0 100644
--- a/lib/puppet/rails/database/schema.rb
+++ b/lib/puppet/rails/database/schema.rb
@@ -7,7 +7,7 @@ class Puppet::Rails::Schema
$stdout = File.open("/dev/null", "w")
ActiveRecord::Schema.define do
create_table :resources do |t|
- t.column :title, :string, :null => false
+ t.column :title, :text, :null => false
t.column :restype, :string, :null => false
t.column :host_id, :integer
t.column :source_file_id, :integer