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

Version Path
tb_cms-1.0.3 spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb
tb_cms-1.0.2 spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb
tb_cms-1.0.1 spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb