Sha256: 4523d9251a62c8e0dc6c4443ab79b204cbe4b14cd617b6e94e3783aa90bacdd5

Contents?: true

Size: 415 Bytes

Versions: 12

Compression:

Stored size: 415 Bytes

Contents

# This migration comes from tb_cms (originally 20120510195151)
class CreateSpudPagePartialRevisions < ActiveRecord::Migration
  def change
    create_table :spud_page_partial_revisions do |t|
      t.string :name
      t.text :content
      t.string :format
      t.integer :spud_page_id
      t.timestamps
    end

    add_index :spud_page_partial_revisions,[:spud_page_id,:name],:name => "revision_idx"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tb_cms-1.2.3 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.2.2 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.2.1 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.2.0 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.2.0.beta3 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.2.0.beta1 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.1.5 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.1.4 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.1.3 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.1.2 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.1.1 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.1.0 spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb