Sha256: 282779dc0d0eaec2ea838531e822f4e936b4031a1c80efee368df58cba7803d7

Contents?: true

Size: 521 Bytes

Versions: 13

Compression:

Stored size: 521 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.datetime :finished_at,   :null => true
            end
          end

          def self.down
            drop_table :schedule_logs
          end
        end

      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
khronos-0.0.3.pre4 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.3.pre3 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.3.pre2 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.3.pre1 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.2 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.2.pre1 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1.pre6 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1.pre5 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1.pre4 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1.pre3 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1.pre2 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1.pre1 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb
khronos-0.0.1 lib/khronos/storage/adapter/activerecord/migrations/schedule_log.rb