Sha256: 506a9dc724ea0dd16fd4a8ed5089ea6ea99757f102376a578cd3ed7965be9e5d
Contents?: true
Size: 812 Bytes
Versions: 5
Compression:
Stored size: 812 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 => true, :default => 0 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
5 entries across 5 versions & 1 rubygems