On Mon, Jul 02, 2007 at 02:29:36PM +0200, Michael Kastner wrote:
> class ChangeUsersIdentityKeyToInt < ActiveRecord::Migration
>   def self.up
>     change_column :users, :identity_key, :int
>   end
>   def self.down
>     change_column :users, :identity_key, :string
>   end
> end


genau - statt :int use :integer.
rene


-- 
GPG-KEY-ID: 0F8DDFBB | PGP-MIME prefered
GPG-KEY-fingerprint: 643F CABD 9BBB CD05 9AC1 313F 9D70 65FE 0F8D DFBB

_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an