Sha256: 9660e23b2682243debc8d4b2ce4dffbdf0a47814c492db7def035bfd5b434345
Contents?: true
Size: 595 Bytes
Versions: 10
Compression:
Stored size: 595 Bytes
Contents
class CreateUserExportFileTransitions < ActiveRecord::Migration[5.2] def change create_table :user_export_file_transitions do |t| t.string :to_state t.text :metadata, default: "{}" t.integer :sort_key t.references :user_export_file, index: true t.timestamps end add_index :user_export_file_transitions, :user_export_file_id, name: "index_user_export_file_transitions_on_file_id" add_index :user_export_file_transitions, [:sort_key, :user_export_file_id], unique: true, name: "index_user_export_file_transitions_on_sort_key_and_file_id" end end
Version data entries
10 entries across 10 versions & 10 rubygems