Sha256: a6f66e94d26c71f75cfb3cae688f5db75744eb020d01ea5ea1e81db9ae57c6c8

Contents?: true

Size: 673 Bytes

Versions: 4

Compression:

Stored size: 673 Bytes

Contents

TestSchema = InstDataShipper::SchemaBuilder.build do
  table("test_table", model: "Account") do
    source ->(tdef) {}

    column :id, :"varchar(32)", from: "Id"
  end

  table("table_with_version", model: "Account") do
    version "1.0"
    column :id
  end

  table("local_table_test", model: InstDataShipper::DumpBatch) do
    source :local_table

    column :id
  end

  table("incremental_table") do
    incremental
    column :id, :"varchar(32)", from: "Id"
  end

  table("proc_incremental_table") do
    incremental if: -> { @proc_incremental }
    column :id, :"varchar(32)", from: "Id"
  end
end

TestDumper = InstDataShipper::Dumper.define(schema: TestSchema)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inst_data_shipper-0.2.6 spec/support/test_dumper.rb
inst_data_shipper-0.2.5 spec/support/test_dumper.rb
inst_data_shipper-0.2.4 spec/support/test_dumper.rb
inst_data_shipper-0.2.3 spec/support/test_dumper.rb