Sha256: 95c1187cb6a9c3d42481ee302ff0bf51a466c8df3538a014e96bdbffb062b8fb

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

require 'spiderfw/model/migrations/migration'
require 'spiderfw/model/migrations/irreversible_migration'
require 'spiderfw/model/migrations/replace'
require 'spiderfw/model/migrations/drop_element'

module Spider
    
    module Migrations
        
        def self.replace(model, element, values)
            Spider::Migrations::Replace.new(model, element, values)
        end

        def self.drop_element!(model, element, options={})
        	Spider::Migrations::DropElement.new(model, element, options={})
        end
        
        
    end
    
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spiderfw-0.6.20 lib/spiderfw/model/migrations.rb
spiderfw-0.6.19 lib/spiderfw/model/migrations.rb
spiderfw-0.6.18 lib/spiderfw/model/migrations.rb
spiderfw-0.6.17 lib/spiderfw/model/migrations.rb