Sha256: 5a3c94c3786d918f79e239f2782bb3e4bbf8c07f4f1899cc99c941e59cc43fa7

Contents?: true

Size: 699 Bytes

Versions: 93

Compression:

Stored size: 699 Bytes

Contents

require 'active_record/fixtures'

["batchy_batches"].each do |tname|
  puts tname
  Myreplicator::Export.find_or_create_by_table_name!(:table_name => tname,
                                                     :source_schema => "okl_test",
                                                     :destination_schema => "myreplicator",
                                                     :incremental_column => "updated_at",    
                                                     :incremental_column_type => "datetime",    
                                                     :cron => "2 * * * *")
end

# ActiveRecord::Fixtures.create_fixtures("#{Rails.root}/test/fixtures", "myreplicator_exports")

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
myreplicator-1.1.73 test/dummy/db/seeds.rb
myreplicator-1.1.71 test/dummy/db/seeds.rb
myreplicator-1.1.69 test/dummy/db/seeds.rb
myreplicator-1.1.68 test/dummy/db/seeds.rb
myreplicator-1.1.67 test/dummy/db/seeds.rb
myreplicator-1.1.66 test/dummy/db/seeds.rb
myreplicator-1.1.65 test/dummy/db/seeds.rb
myreplicator-1.1.64 test/dummy/db/seeds.rb
myreplicator-1.1.63 test/dummy/db/seeds.rb
myreplicator-1.1.62 test/dummy/db/seeds.rb
myreplicator-1.1.61 test/dummy/db/seeds.rb
myreplicator-1.1.58 test/dummy/db/seeds.rb
myreplicator-1.1.57 test/dummy/db/seeds.rb
myreplicator-1.1.56 test/dummy/db/seeds.rb
myreplicator-1.1.55 test/dummy/db/seeds.rb
myreplicator-1.1.54 test/dummy/db/seeds.rb
myreplicator-1.1.53 test/dummy/db/seeds.rb
myreplicator-1.1.52 test/dummy/db/seeds.rb
myreplicator-1.1.51 test/dummy/db/seeds.rb
myreplicator-1.1.50 test/dummy/db/seeds.rb