Sha256: e26bd8a9d9b9096144488e5e413f590840d844ecd0fbb2d620c7b38a1ca25ff1

Contents?: true

Size: 415 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
tb_cms-1.3.0 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb
tb_cms-1.3.beta1 spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb