Sha256: d71d879c3f9bfe75415fee401f0acf10433488d6feefae2ee0d0d311b1c3600d

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

# This migration comes from tb_cms (originally 20120510195151)
class CreateSpudPagePartialRevisions < ActiveRecord::Migration[4.2]
  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

5 entries across 5 versions & 1 rubygems

Version Path
tb_cms-1.3.6 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.3.5 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.3.3 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.3.2 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.3.1 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb