Sha256: ece5181ea2e47aa03a8bc31bf514b94fd714d6bcb4cdbe1dda296fa6f071ff7e
Contents?: true
Size: 797 Bytes
Versions: 13
Compression:
Stored size: 797 Bytes
Contents
module Khronos class Storage module Adapter module ActiveRecord class CreateSchedule < ::ActiveRecord::Migration def self.up create_table :schedules do |t| t.string :context, :null => false, :limit => 100 t.datetime :at, :null => false t.string :task_url, :null => false t.integer :recurrency, :null => false t.string :callbacks, :null => true, :limit => 500 t.boolean :active, :null => false, :default => true end add_index :schedules, :at add_index :schedules, :context end def self.down drop_table :schedules end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems