lib/generators/pgcrypto/install/templates/migration.rb in pgcrypto-0.1.0 vs lib/generators/pgcrypto/install/templates/migration.rb in pgcrypto-0.1.1

- old
+ new

@@ -1,9 +1,10 @@ class InstallPgcrypto < ActiveRecord::Migration def up create_table :pgcrypto_columns do |t| t.belongs_to :owner, :polymorphic => true - t.string :name, :limit => 64 + t.string :owner_table, :limit => 32 + t.string :name, :limit => 32 t.binary :value end add_index :pgcrypto_columns, [:owner_id, :owner_type, :name], :name => :pgcrypto_column_finder end