Sha256: 38063f9682f9b732fd60ca54671cd2688e4a03167d451f5bbf5f8d360d853810
Contents?: true
Size: 598 Bytes
Versions: 142
Compression:
Stored size: 598 Bytes
Contents
# This migration comes from push_type (originally 20141117210644) class CreatePushTypeNodeHierarchies < ActiveRecord::Migration def change create_table :push_type_node_hierarchies, id: false do |t| t.uuid :ancestor_id, null: false t.uuid :descendant_id, null: false t.integer :generations, null: false end add_index :push_type_node_hierarchies, [:ancestor_id, :descendant_id, :generations], unique: true, name: "node_anc_desc_idx" add_index :push_type_node_hierarchies, [:descendant_id], name: "node_desc_idx" end end
Version data entries
142 entries across 142 versions & 5 rubygems