Sha256: c3fa08a0baf7e19879025c8848d38b1bae45a49d49e4f241c3573c1f0e5251bb

Contents?: true

Size: 601 Bytes

Versions: 25

Compression:

Stored size: 601 Bytes

Contents

# frozen_string_literal: true
Sequel.migration do
  change do
    create_table(:dynflow_envelopes) do
      primary_key :id
      # we don't add a foreign key to worlds here as there might be an envelope created for the world
      # while the world gets terminated, and it would mess the whole thing up:
      # error on the world deletion because some envelopes arrived in the meantime
      # we still do our best to remove the envelopes if we can
      column :receiver_id, String, size: 36, fixed: true
      index       :receiver_id
      column      :data, String, text: true
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
dynflow-1.8.2 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.8.1 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.8.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.7.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.11 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.10 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.8 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.7 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.6 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.5 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.4 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.3 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.2 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.6.1 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.4.9 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.4.8 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.5.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.4.7 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.4.6 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.4.5 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb