Genlinux.rb - > genlinux.js
Articles for developers
About Me
SUPPORT THE SITE WITH A CLICK
Subscribe Rss:
SUPPORT THE SITE WITH A CLICK
Tuesday, December 23, 2008
change_column in ActiveRecord::Migration
Posted by
Thillai
In rails 2.1 and above change_column should be able to use :null => true on a field that formerly had false in its lower versions
def self.up
change_column :payment_ledgers,:reg_id,:integer,:null=>true
end
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment