Stimmt, das war's. Weiß auch nicht, wo ich das :int herhatte ...

Vielen Dank

Michael Kastner

Rene Paulokat schrieb:
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




------------------------------------------------------------------------

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

--

------------------------------
galt.de Web :-) Services
Michael Kastner
Berliner Straße 3
D-65439 Flörsheim

Telefon +49 (0) 6145 / 938 581
Telefax +49 (0) 6145 / 938 582
E-Mail [EMAIL PROTECTED]
Homepage http://www.galt.de
------------------------------
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an