repo.or.cz
/
askyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
;]
[askyou.git]
/
db
/
migrate
/
048_allow_null_version_effective_date.rb
blob
82d2a33eccc5d6fe31b73f796c704100dd75755e
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