Sha256: 71c02a623faf8d188ff728648e2a9b169c55741efbf9d1211db5e9e97f1a1a0f

Contents?: true

Size: 411 Bytes

Versions: 52

Compression:

Stored size: 411 Bytes

Contents

# This migration comes from erp_tech_svcs (originally 20110802200222)
class ScheduleDeleteExpiredSessionsJob
  
  def self.up
    #insert data here
    date = Date.tomorrow
    start_time = DateTime.civil(date.year, date.month, date.day, 2, 0, 1, -(5.0/24.0))

    ErpTechSvcs::Sessions::DeleteExpiredSessionsJob.schedule_job(start_time)
  end
  
  def self.down
    #remove data here
  end

end

Version data entries

52 entries across 52 versions & 18 rubygems

Version Path
erp_tech_svcs-3.1.8 spec/dummy/db/data_migrations/20130220143309_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
knitkit-2.1.14 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
knitkit-2.1.13 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_forms-3.1.1 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_app-3.1.14 spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
knitkit-2.1.12 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_orders-3.1.1 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_work_effort-3.1.1 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_tech_svcs-3.1.5 spec/dummy/db/data_migrations/20130220143309_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_app-3.1.12 spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
knitkit-2.1.9 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
knitkit-2.1.8 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_tech_svcs-3.1.4 spec/dummy/db/data_migrations/20130220143309_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_forms-3.1.0 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_app-3.1.10 spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_app-3.1.9 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_app-3.1.8 spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
knitkit-2.1.7 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_txns_and_accts-3.1.1 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
erp_commerce-3.1.3 spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb