Sha256: acebbcbfc37d844c5ef94f950ac6ecf5c066328fe8aaef5e4b5aa49595d644de
Contents?: true
Size: 510 Bytes
Versions: 76
Compression:
Stored size: 510 Bytes
Contents
class CreateImportRequestTransitions < ActiveRecord::Migration def change create_table :import_request_transitions do |t| t.string :to_state t.text :metadata, default: "{}" t.integer :sort_key t.integer :import_request_id t.timestamps end add_index :import_request_transitions, :import_request_id add_index :import_request_transitions, [:sort_key, :import_request_id], unique: true, name: "index_import_request_transitions_on_sort_key_and_request_id" end end
Version data entries
76 entries across 76 versions & 18 rubygems