Sha256: 5d25921abed7ee7d156bae258cf6f5e63f5e92c3434229958fdaa5b10d78dc8b
Contents?: true
Size: 613 Bytes
Versions: 76
Compression:
Stored size: 613 Bytes
Contents
class CreateResourceExportFileTransitions < ActiveRecord::Migration def change create_table :resource_export_file_transitions do |t| t.string :to_state t.text :metadata, default: "{}" t.integer :sort_key t.integer :resource_export_file_id t.timestamps end add_index :resource_export_file_transitions, :resource_export_file_id, name: "index_resource_export_file_transitions_on_file_id" add_index :resource_export_file_transitions, [:sort_key, :resource_export_file_id], unique: true, name: "index_resource_export_file_transitions_on_sort_key_and_file_id" end end
Version data entries
76 entries across 76 versions & 18 rubygems