Class: Khronos::Storage::Adapter::ActiveRecord::CreateScheduleLog
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- Khronos::Storage::Adapter::ActiveRecord::CreateScheduleLog
- Defined in:
- lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
16 17 18 |
# File 'lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb', line 16 def self.down drop_table :schedule_logs end |
.up ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb', line 7 def self.up create_table :schedule_logs do |t| t.integer :schedule_id, :null => false t.datetime :started_at, :null => false t.integer :status_code, :null => false t.string :callbacks end end |