Sha256: b67d7931e6b04d9e0d0a8a0a3e596b7030d25462ca886e153bf621eb3e457757

Contents?: true

Size: 530 Bytes

Versions: 16

Compression:

Stored size: 530 Bytes

Contents

class CreateEventImportFileTransitions < ActiveRecord::Migration
  def change
    create_table :event_import_file_transitions do |t|
      t.string :to_state
      t.text :metadata, default: "{}"
      t.integer :sort_key
      t.integer :event_import_file_id
      t.timestamps
    end

    add_index :event_import_file_transitions, :event_import_file_id
    add_index :event_import_file_transitions, [:sort_key, :event_import_file_id], unique: true, name: "index_event_import_file_transitions_on_sort_key_and_file_id"
  end
end

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
enju_library-0.1.0.pre38 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_event-0.1.17.pre23 db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_oai-0.1.0.pre16 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_ndl-0.1.0.pre34 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_library-0.1.0.pre37 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_event-0.1.17.pre22 db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_event-0.1.17.pre21 db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_oai-0.1.0.pre15 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_library-0.1.0.pre36 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_event-0.1.17.pre20 db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_oai-0.1.0.pre14 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_library-0.1.0.pre35 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_ndl-0.1.0.pre33 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_library-0.1.0.pre34 spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_event-0.1.17.pre19 db/migrate/20140523171309_create_event_import_file_transitions.rb
enju_event-0.1.17.pre18 db/migrate/20140523171309_create_event_import_file_transitions.rb