class CreateUnavailableDates
Public Instance Methods
change()
click to toggle source
# File lib/unavailability/unavailable_dates/migration.rb, line 2 def change create_table :unavailable_dates do |t| t.date :from t.date :to t.references :dateable, polymorphic: true t.timestamps end end