Sha256: 18137466c56bc6760944a08845131c830968df8aadfcd7114c92ff3c3e95bc9f

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

class CreateManageableContentPageContents < ActiveRecord::Migration
  def change
    create_table :manageable_content_page_contents do |t|
      t.references :page
      t.string :key
      t.text :content

      t.timestamps
    end

    add_index :manageable_content_page_contents, [:page_id, :key], :unique => true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
manageable_content-0.0.1 db/migrate/20110814003912_create_manageable_content_page_contents.rb