FogBugz #63: Geburtstage jetzt mit nur optionalem Jahr. Man kennt's ja nicht immer.
This commit is contained in:
parent
e50cf051b5
commit
e5e4d9e600
10 changed files with 85 additions and 6 deletions
9
db/migrate/20110601205228_remove_birthdate_as_date.rb
Normal file
9
db/migrate/20110601205228_remove_birthdate_as_date.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class RemoveBirthdateAsDate < ActiveRecord::Migration
|
||||
def self.up
|
||||
remove_column :contacts, :birth_date
|
||||
end
|
||||
|
||||
def self.down
|
||||
add_column :contacts, :birth_date, :date
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue