Sha256: df66c6f4ec45ca84748055b5530bf05d96dc53775bb3d7881b5c40fe362f4031
Contents?: true
Size: 539 Bytes
Versions: 7
Compression:
Stored size: 539 Bytes
Contents
# frozen_string_literal: true # This migration comes from spina (originally 10) class CreateSpinaImageCollections < ActiveRecord::Migration[5.2] def change create_table :spina_image_collections, &:timestamps create_table 'spina_image_collections_images', id: :serial, force: :cascade do |t| t.integer 'image_collection_id' t.integer 'image_id' t.integer 'position' end add_index :spina_image_collections_images, :image_collection_id add_index :spina_image_collections_images, :image_id end end
Version data entries
7 entries across 7 versions & 1 rubygems