Sha256: 593ef653d46b7a4229e22bd423f39d24de699a0239224798b978a02fba7973aa
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
# This migration comes from tb_permalinks (originally 20120306195503) class CreateSpudPermalinks < ActiveRecord::Migration 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tb_cms-1.3.0 | spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb |
tb_cms-1.3.beta1 | spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb |