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

Version Path
tb_cms-1.3.6 spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb
tb_cms-1.3.5 spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb
tb_cms-1.3.3 spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb
tb_cms-1.3.2 spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb
tb_cms-1.3.1 spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb