Sha256: a096a7bac1ffd66babd3a6929ebbfe1ead896fbd87393d77345a4154544740ae
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
class CreateEventImportFileTransitions < ActiveRecord::Migration[5.2] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_event-0.4.0.rc.1 | db/migrate/20140523171309_create_event_import_file_transitions.rb |