Sha256: d3ebc017ac335c39be5a455dfd661376a021ae0f8eabb63f3f3e6ff6e9de718a
Contents?: true
Size: 338 Bytes
Versions: 6
Compression:
Stored size: 338 Bytes
Contents
class CreatePageImages < ActiveRecord::Migration def change create_table Refinery::ImagePage.table_name, :id => false do |t| t.integer :image_id t.integer :page_id t.integer :position end add_index Refinery::ImagePage.table_name, :image_id add_index Refinery::ImagePage.table_name, :page_id end end
Version data entries
6 entries across 6 versions & 2 rubygems