Sha256: bf5ccd736d3fe3479fa67bd333f8c5d94e29bd0b9ea3aa20180be6405bc993c6

Contents?: true

Size: 571 Bytes

Versions: 57

Compression:

Stored size: 571 Bytes

Contents

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

57 entries across 57 versions & 1 rubygems

Version Path
dynflow-1.3.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.2.3 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.2.2 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.2.1 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.2.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.2.0.pre1 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.6 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.5 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.4 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.3 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.2 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.1 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.1.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.0.5 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.0.4 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.0.3 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.0.2 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.0.1 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-1.0.0 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb
dynflow-0.8.37 lib/dynflow/persistence_adapters/sequel_migrations/005_envelopes.rb