Sha256: c7fdc9a4c708d2d010f10ef04cf134e55a7f05c86c596765d38522246a5da59e
Contents?: true
Size: 657 Bytes
Versions: 44
Compression:
Stored size: 657 Bytes
Contents
class CreateManifestationReserveStatTransitions < ActiveRecord::Migration def change create_table :manifestation_reserve_stat_transitions do |t| t.string :to_state t.text :metadata, default: "{}" t.integer :sort_key t.integer :manifestation_reserve_stat_id t.timestamps end add_index :manifestation_reserve_stat_transitions, :manifestation_reserve_stat_id, name: "index_manifestation_reserve_stat_transitions_on_stat_id" add_index :manifestation_reserve_stat_transitions, [:sort_key, :manifestation_reserve_stat_id], unique: true, name: "index_manifestation_reserve_stat_transitions_on_transition" end end
Version data entries
44 entries across 44 versions & 11 rubygems