To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 94 / 94ffc5b60938641c94df1e56e92a35342ab3fc32.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (225 Bytes)

1
class AllowNullVersionEffectiveDate < ActiveRecord::Migration
2
  def self.up
3
    change_column :versions, :effective_date, :date, :default => nil, :null => true
4
  end
5

    
6
  def self.down
7
    raise IrreversibleMigration
8
  end
9
end