DateTime
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
class EventTime < ActiveRecord::Migration
|
class EventTime < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
change_column :events, :date, :date, :null => true
|
change_column :events, :date, :date, :null => true
|
||||||
|
change_column :events, :time, :datetime
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.down
|
def self.down
|
||||||
|
|||||||
Reference in New Issue
Block a user