Sha256: 6dc6bcb9014d9f1008427fadefea7f5d92935694f930b589abab0439bc384443
Contents?: true
Size: 577 Bytes
Versions: 72
Compression:
Stored size: 577 Bytes
Contents
class CreateUserExportFileTransitions < ActiveRecord::Migration def change create_table :user_export_file_transitions do |t| t.string :to_state t.text :metadata, default: "{}" t.integer :sort_key t.integer :user_export_file_id 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
72 entries across 72 versions & 18 rubygems