[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
Markus Roberts
Markus at reality.com
Wed Jul 14 10:36:51 UTC 2010
The following commit has been merged in the upstream branch:
commit 3ff38df6fecef533bbd33a63abe368725734446e
Author: Markus Roberts <Markus at reality.com>
Date: Thu Jul 8 12:22:56 2010 -0700
Fix for #4137 -- Oracle needs text for strings > 255
Oracle has a maximum VARCHAR (string) column length of 255 characters. Any
column that is larger than 255 characters needs to be cast as a :text column
instead of :string.
diff --git a/lib/puppet/rails/database/schema.rb b/lib/puppet/rails/database/schema.rb
index 434197b..20d2e96 100644
--- a/lib/puppet/rails/database/schema.rb
+++ b/lib/puppet/rails/database/schema.rb
@@ -59,7 +59,7 @@ class Puppet::Rails::Schema
create_table :hosts do |t|
t.column :name, :string, :null => false
t.column :ip, :string
- t.column :environment, :string
+ t.column :environment, :text
t.column :last_compile, :datetime
t.column :last_freshcheck, :datetime
t.column :last_report, :datetime
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list