Sha256: d8ea6108aecc1d12d71f1fdbbc5545426f93e7a45f825fd4498b614b75d06ddb
Contents?: true
Size: 408 Bytes
Versions: 5
Compression:
Stored size: 408 Bytes
Contents
# This migration comes from tb_permalinks (originally 20120306195503) class CreateSpudPermalinks < ActiveRecord::Migration[4.2] def change create_table :spud_permalinks do |t| t.string :url_name t.string :attachment_type t.integer :attachment_id t.timestamps end add_index :spud_permalinks, [:attachment_type, :attachment_id], name: 'idx_permalink_attachment' end end
Version data entries
5 entries across 5 versions & 1 rubygems