Sha256: 5394611bc440b36170b1135346b61e637cc8471679b8057cd43c55f47486c9a4
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
# This migration comes from spud_permalinks (originally 20120306195503) class CreateSpudPermalinks < ActiveRecord::Migration def change create_table :spud_admin_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] end end
Version data entries
3 entries across 3 versions & 1 rubygems