Sha256: e3d8733c094ae198f6e6e74eb893b72a472922f308b02ced65e320384fbf6058

Contents?: true

Size: 558 Bytes

Versions: 5

Compression:

Stored size: 558 Bytes

Contents

module Khronos
  class Storage
    module Adapter
      module ActiveRecord

        class CreateScheduleLog < ::ActiveRecord::Migration
          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

          def self.down
            drop_table :schedule_logs
          end
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
khronos-0.1.4 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.1.3 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.1.2 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.1.1 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.1.0 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb